RustCrypto / password-hashes

Password hashing functions / KDFs
678 stars 84 forks source link

`sha256_crypt` doesn't need an error return #499

Closed tbu- closed 6 months ago

tbu- commented 6 months ago

sha256_crypt

The only thing it uses the error return for is checking the passed Sha256Params, but those were already validated in Sha256Params::new.

tarcieri commented 6 months ago

Making it infallible sounds good to me