From e0ce6b57f5af52d5263d0d6f2438baa98a0b12d1 Mon Sep 17 00:00:00 2001 From: maaa Date: Sun, 6 Aug 2023 00:54:44 +0200 Subject: [PATCH] d --- APIDOCS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APIDOCS.md b/APIDOCS.md index 9e15cf1..887e522 100644 --- a/APIDOCS.md +++ b/APIDOCS.md @@ -8,7 +8,7 @@ POST - /api/signup - provide "username" and "password". POST - /api/login - provide "username" and "password". To prevent the server from knowing the encryption key, password you provide in the request must be hashed with the argon2 algorithm. -The salt should be the password. +The salt should be the SHA-512 of the password. Password must be at least 14 characters, username must be under 20 characters and alphanumeric.