Skip to content

Commit

Permalink
NIP-49 [breaking]: password normalized to unicode NFKC format
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedilger authored and fiatjaf committed Feb 16, 2024
1 parent afbb8dd commit cbec02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 49.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This NIP defines a method by which clients can encrypt (and decrypt) a user's pr
Symmetric Encryption Key derivation
-----------------------------------

PASSWORD = read from the user
PASSWORD = Read from the user. The password should be unicode normalized to NFKC format to ensure that the password can be entered identically on other computers/clients.

LOG\_N = Let the user or implementer choose one byte representing a power of 2 (e.g. 18 represents 262,144) which is used as the number of rounds for scrypt. Larger numbers take more time and more memory, and offer better protection:

Expand Down

0 comments on commit cbec02a

Please sign in to comment.