This commit is contained in:
maaa 2023-08-06 00:54:44 +02:00
parent bcd6a07607
commit e0ce6b57f5
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ POST - /api/signup - provide "username" and "password".
POST - /api/login - 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, 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. Password must be at least 14 characters, username must be under 20 characters and alphanumeric.