hash: hash crate for all hashing needs, password

This commit is contained in:
Philippe Loctaux 2023-03-05 23:28:14 +01:00
parent 7851fdae1e
commit 8af226cd05
5 changed files with 128 additions and 0 deletions

11
crates/hash/src/error.rs Normal file
View file

@ -0,0 +1,11 @@
// error
#[derive(thiserror::Error)]
// the rest
#[derive(Debug)]
pub enum Error {
#[error("Failed to hash value")]
Hash,
#[error("Failed to parse hashed value")]
Parse,
}