This commit is contained in:
josh 2024-05-07 08:14:39 -04:00
parent afce5b5bf4
commit 7749102432
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ func createPasswordEntry(email, password string) string {
} }
func getSalt() string { func getSalt() string {
salt := make([]byte, 32) salt := make([]byte, 5)
_, err := io.ReadFull(rand.Reader, salt) _, err := io.ReadFull(rand.Reader, salt)
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)