Adding password hashing functionality

This commit is contained in:
Kevin Lewi
2020-06-08 21:02:01 -07:00
parent 88696763cc
commit 57e152b028
7 changed files with 256 additions and 45 deletions
+2
View File
@@ -26,6 +26,8 @@ pub enum InternalPakeError {
HkdfError,
#[error("Computing HMAC failed while supplying a secret key")]
HmacError,
#[error("Computing the slow hashing function failed")]
SlowHashError,
}
/// Represents an error in password checking