hash: hash crate for all hashing needs, password
This commit is contained in:
parent
7851fdae1e
commit
8af226cd05
5 changed files with 128 additions and 0 deletions
11
crates/hash/src/error.rs
Normal file
11
crates/hash/src/error.rs
Normal 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,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue