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

HashPassword naming confuses people #21

Open
gtank opened this issue Jun 1, 2017 · 3 comments
Open

HashPassword naming confuses people #21

gtank opened this issue Jun 1, 2017 · 3 comments

Comments

@gtank
Copy link
Owner

gtank commented Jun 1, 2017

No description provided.

@stephenmw
Copy link

stephenmw commented Jun 1, 2017

I recommend NewPasswordHash. Its documentation should state:

  1. This command returns a different hash each call for the same password.
  2. Use CheckPasswordHash to verify a password matches the hash.

@gtank
Copy link
Owner Author

gtank commented Jun 1, 2017

Agreed, NewPasswordHash is way better.

@FiloSottile
Copy link

FiloSottile commented Jun 1, 2017 via email

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

No branches or pull requests

3 participants