NIP-49 [breaking]: password normalized to unicode NFKC format

This commit is contained in:
Mike Dilger 2024-02-16 09:38:21 +13:00 committed by fiatjaf_
parent afbb8dd008
commit cbec02ab52

2
49.md
View File

@ -12,7 +12,7 @@ This NIP defines a method by which clients can encrypt (and decrypt) a user's pr
Symmetric Encryption Key derivation 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: 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: