From 22bf0d0298a4e0e410caba9e93a9c6bf8983167e Mon Sep 17 00:00:00 2001 From: Aaron Po Date: Tue, 1 Sep 2026 14:49:52 -0400 Subject: [PATCH] fix registration diagram --- docs/web/diagrams/auth/registration.mmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/web/diagrams/auth/registration.mmd b/docs/web/diagrams/auth/registration.mmd index d5ae2494..dd3a0dc4 100644 --- a/docs/web/diagrams/auth/registration.mmd +++ b/docs/web/diagrams/auth/registration.mmd @@ -41,7 +41,7 @@ sequenceDiagram UserMgr->>Argon2: HashPassword(user, password) activate Argon2 Note right of Argon2: Argon2id — salt 16 bytes, memory 64MB, iterations 4, parallelism 2 (fixed, to avoid thread-pool exhaustion), hash output 32 bytes - Argon2-->>UserMgr: "$argon2id$v=19$m=65536,t=4,p=2$<salt>$<hash>" (PHC string) + Argon2-->>UserMgr: PHC string in Argon2id format (algorithm, version, memory/time/parallelism params, salt, hash) deactivate Argon2 UserMgr->>UserStore: SetPasswordHashAsync(user, hash)