Skip to content
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

Add option to use raw salt during password hash generation #299

Closed
wants to merge 1 commit into from

Conversation

coldfire84
Copy link

As-per #298, added ability to use raw salt:

Add options.rawSalt, boolean
Modify pbkdf2 call on setPassword to use raw salt, if options.rawSalt == true
Modify pbkdf2 call on authenticate to use raw salt, if options.rawSalt == true
Update readme with rawSalt option information

Note this is set to false by default as would be a breaking change for existing users.

    Add options.rawSalt, boolean
    Modify pbkdf2 call on setPassword to use raw salt, if options.rawSalt == true
    Modify pbkdf2 call on authenticate to use raw salt, if options.rawSalt == true
    Update readme with rawSalt option information
@saintedlama
Copy link
Owner

Misses tests will close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants