RustCrypto / password-hashes

Password hashing functions / KDFs
652 stars 80 forks source link

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

Closed tbu- closed 4 months ago

tbu- commented 4 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 4 months ago

Making it infallible sounds good to me