From 2c70864ef591ec9d49f6bf9abd25218a5bbb1036 Mon Sep 17 00:00:00 2001 From: arzumify Date: Fri, 23 Feb 2024 11:32:47 +0000 Subject: [PATCH] Update APIDOCS.md --- APIDOCS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/APIDOCS.md b/APIDOCS.md index a355708..bd12d4c 100644 --- a/APIDOCS.md +++ b/APIDOCS.md @@ -9,7 +9,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. +To prevent the server from knowing the encryption key, the password you provide in the request must be hashed with the argon2 algorithm. Parallelism should be 1 Iterations should be 256 @@ -20,7 +20,7 @@ The output should be in the encoded format, not the hashed format 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. +Password should be at least 8 characters, username must be under 20 characters and alphanumeric. If username is taken, error code 422 will return.