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