-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Be able to use different hash formats #11
Comments
Started testing some other password libraries for formats they output. All hashes use I'll just add to this message if I find more later on. Python's Passlib (
For
For Node scrypt Github README Example from the GitHub README (not self-generated):
PHPs PHPass(Lib) (
PHPass(Lib) seems to use the same format as Python's Weird output format, not sure if this is generally used anywhere.
|
Seeing as some algorithms encode the password hashes in different ways, it might be a good idea to add functionality to dictate how the hash will be output (
hashPassword
) and/or how it will be read (checkPassword
).This will make the interoperability better between different programs/other languages, and thus make it easier for someone to switch to Haskell, or use Haskell to operate on already existing password hashes.
Here's a list of examples of different formats
The text was updated successfully, but these errors were encountered: