Update README.md

Replace randomString by password in CompareStringToArgon2Hash function params
This commit is contained in:
Euphoria Laxis 2022-12-24 17:52:32 +01:00 committed by GitHub
parent bdbfc73e00
commit c34dd7c8d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ Utils to encrypt passwords using argon2
if err != nil {
...
}
match, err := argon2_utils.CompareStringToArgon2Hash(randomString, hashedString)
match, err := argon2_utils.CompareStringToArgon2Hash(password, hashedString)
if err != nil {
...
}