You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hashPassword is the core hashing proc that hashes a password with scrypt and has whatever parameters it needs
encodeHash is a way to encode the output of scrypt into a string that can be stored in a db and be used with isValidPassword
hashEncodePassword a way to call 1) and 2) together for convenience
isValidPassword to be able to validate whether a given clear-text password when hashed equal the hash included somewhere within the output of encodeHash
That module should also touch nimword.nim in order to include scrypt into the overarching hashEncodePassword and isValidPassword procs there.
The text was updated successfully, but these errors were encountered:
So far only pbkdf2 and argon are supported.
A new module under src/nimword could be added to provide a module with the following procs:
Where:
isValidPassword
encodeHash
That module should also touch nimword.nim in order to include scrypt into the overarching hashEncodePassword and isValidPassword procs there.
The text was updated successfully, but these errors were encountered: