This commit is contained in:
josh 2024-05-07 08:45:02 -04:00
parent d68fd13be8
commit cd3dc2151b
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ func modifyPasswordFile(email, password string) bool {
} }
func createPasswordEntry(email, password string) string { func createPasswordEntry(email, password string) string {
salt := RandStringBytesMaskImprSrc(5) salt := RandStringBytesMaskImprSrc(10)
c := crypto.SHA512.New() c := crypto.SHA512.New()
c.Write([]byte(password)) c.Write([]byte(password))
c.Write([]byte(salt)) c.Write([]byte(salt))