NIP-44 v3 is a new encryption scheme for Nostr that is more secure and flexible.
Compared to NIP-44 v2, it provides:
- Protection against context rebinding attacks, where the same encrypted message may be used in another context it is not intended for.
- The capability to encrypt binary data, instead of just UTF-8.
- Access control support for signers, which can restrict which kinds' data can be encrypted/decrypted, and prevent ransom attacks
- Support for encrypted plaintexts above 65KB.
Note
This specification is a draft, but is only expected to undergo minor, non-breaking changes.
- Specification: nip44v3.md
- Implementation guide: implementing.md.
- Test vectors: test-vectors.json
- Extensions: ./extensions
| Name | Platform | Type |
|---|---|---|
| Amber | Android | Remote, Android Intents |
| Name | Language | License |
|---|---|---|
| ncrypt | Go | BSD-3 |