Update 44.md

Typo

Co-authored-by: Alex Gleason <alex@alexgleason.me>
This commit is contained in:
Jon Staab 2023-08-12 12:01:36 -07:00 committed by GitHub
parent 4d95efcf87
commit 06f8dbadc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
44.md
View File

@ -8,7 +8,7 @@ Encrypted Payloads (Versioned)
The NIP introduces a versioned encryption data model, allowing multiple algorithm choices to exist simultaneously.
The algorithm described in NIP-04 is potentially vulnerable to [padding oracle attacks](https://en.wikipedia.org/wiki/Padding_oracle_attack) and uses keys which are not indistinguishable from random. For more information, see [here](https://github.com/nostr-protocol/nips/pull/715#issuecomment-1675301250-).
The algorithm described in NIP-04 is potentially vulnerable to [padding oracle attacks](https://en.wikipedia.org/wiki/Padding_oracle_attack) and uses keys which are not indistinguishable from random. For more information, see [here](https://github.com/nostr-protocol/nips/pull/715#issuecomment-1675301250).
An encrypted payload MUST be encoded as a JSON object. Different versions may have different parameters. Every format has a `v` field specifying its version.