This commit is contained in:
josh 2024-05-07 08:47:28 -04:00
parent cd3dc2151b
commit c73aeb3010
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(10) salt := RandStringBytesMaskImprSrc(16)
c := crypto.SHA512.New() c := crypto.SHA512.New()
c.Write([]byte(password)) c.Write([]byte(password))
c.Write([]byte(salt)) c.Write([]byte(salt))