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))