From cd3dc2151b1d0a801d8dca76203361ecbb1a2ec3 Mon Sep 17 00:00:00 2001 From: josh Date: Tue, 7 May 2024 08:45:02 -0400 Subject: [PATCH] salt --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index ffe5486..ed0ace7 100644 --- a/main.go +++ b/main.go @@ -182,7 +182,7 @@ func modifyPasswordFile(email, password string) bool { } func createPasswordEntry(email, password string) string { - salt := RandStringBytesMaskImprSrc(5) + salt := RandStringBytesMaskImprSrc(10) c := crypto.SHA512.New() c.Write([]byte(password)) c.Write([]byte(salt))