Skip to content

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