From cbec02ab52ffb062f7b7712e0ed6ec524cfe0b6a Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Fri, 16 Feb 2024 09:38:21 +1300 Subject: [PATCH] NIP-49 [breaking]: password normalized to unicode NFKC format --- 49.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/49.md b/49.md index 6de05eb9..addcf749 100644 --- a/49.md +++ b/49.md @@ -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: