From 7749102432ffc0888e5e08e46553da240fcb62ca Mon Sep 17 00:00:00 2001 From: josh Date: Tue, 7 May 2024 08:14:39 -0400 Subject: [PATCH] salt --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index e5f702a..c9828ef 100644 --- a/main.go +++ b/main.go @@ -192,7 +192,7 @@ func createPasswordEntry(email, password string) string { } func getSalt() string { - salt := make([]byte, 32) + salt := make([]byte, 5) _, err := io.ReadFull(rand.Reader, salt) if err != nil { log.Fatal(err)