split bytes utils into unit
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
af81baae44
commit
3b9fba233c
4 changed files with 45 additions and 31 deletions
|
@ -12,4 +12,5 @@ pub fn verify_password(password: &str, password_hash: &str) -> Result<()> {
|
|||
}
|
||||
|
||||
#[inline]
|
||||
#[must_use]
|
||||
pub fn calculate_hash(keys: &[&[u8]]) -> Vec<u8> { sha256::hash(keys) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue