Fixed broken newlines

This commit is contained in:
Tracker-Friendly 2024-05-06 10:24:18 +01:00
parent 57128304c7
commit 0db0bb5094
1 changed files with 1 additions and 4 deletions

View File

@ -90,10 +90,7 @@ func hash(password, salt string) string {
derivedKey, _ := scrypt.Key(passwordBytes, saltBytes, 32768, 8, 1, 64)
hashString := fmt.Sprintf("scrypt:32768
:8:1$%s$%s", salt, hex.EncodeToString(derivedKey))
hashString := fmt.Sprintf("scrypt:32768:8:1$%s$%s", salt, hex.EncodeToString(derivedKey))
return hashString
}