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

password-hash: refactor PasswordHasher #720

Merged
merged 1 commit into from
Aug 27, 2021

Conversation

tarcieri
Copy link
Member

  • Renames hash_password => hash_password_customized
  • Renames hash_password_simple => hash_password
  • Adds a version param to hash_password_customized

A main goal of this commit is to make the method with the shortest name the recommended a simplest to use.

- Renames `hash_password` => `hash_password_customized`
- Renames `hash_password_simple` => `hash_password`
- Adds a `version` param to `hash_password_customized`

A main goal of this commit is to make the method with the shortest name
the recommended a simplest to use.
@tarcieri tarcieri merged commit 9e0de9d into master Aug 27, 2021
@tarcieri tarcieri deleted the password-hash/refactor-password-hasher branch August 27, 2021 03:52
tarcieri added a commit to RustCrypto/password-hashes that referenced this pull request Aug 27, 2021
Updates `argon2`, `pbkdf2`, and `scrypt` with the following upstream
changes from the unreleased `password-hash` crate:

= Add `version` param to `PasswordHasher` (RustCrypto/traits#719)
- Refactor `PasswordHasher` (RustCrypto/traits#720)
tarcieri added a commit to RustCrypto/password-hashes that referenced this pull request Aug 27, 2021
Updates `argon2`, `pbkdf2`, and `scrypt` with the following upstream
changes from the unreleased `password-hash` crate:

- Add `version` param to `PasswordHasher` (RustCrypto/traits#719)
- Refactor `PasswordHasher` (RustCrypto/traits#720)
tarcieri added a commit to RustCrypto/password-hashes that referenced this pull request Aug 27, 2021
Updates `argon2`, `pbkdf2`, and `scrypt` with the following upstream
changes from the unreleased `password-hash` crate:

- Add `version` param to `PasswordHasher` (RustCrypto/traits#719)
- Refactor `PasswordHasher` (RustCrypto/traits#720)
@tarcieri tarcieri mentioned this pull request Aug 27, 2021
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.

1 participant