Add argon2 password hashing

This commit is contained in:
Barry Pederson
2026-02-03 12:59:01 -08:00
parent 120db0bd90
commit a03b738c7a
4 changed files with 255 additions and 11 deletions
+9 -1
View File
@@ -2,4 +2,12 @@
some-rad-password
#commented-out
#commented-out
# Example password with from commandline:
#
# echo -n "hunter2" | argon2 "$(openssl rand -base64 16)" -id
#
# the user would be sending the password: "[id-1]hunter2"
#
[id-1]$argon2id$v=19$m=4096,t=3,p=1$VTMrc2wyaW93L01ibVFPOGNQcHcxQT09$UxX86sGpknkc45CnXq+4CZ0coiTYDvSWIN7JgbeAZUs