From c73aeb3010e8ceb7ed51165a4886c3465f348755 Mon Sep 17 00:00:00 2001 From: josh Date: Tue, 7 May 2024 08:47:28 -0400 Subject: [PATCH] salt --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index ed0ace7..41a587f 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(10) + salt := RandStringBytesMaskImprSrc(16) c := crypto.SHA512.New() c.Write([]byte(password)) c.Write([]byte(salt))