HashExt

Trait HashExt 

Source
pub trait HashExt {
    // Required methods
    fn hash(&self, value: &str) -> Result<String, PicaError>;
    fn verify(&self, value: &str, hash: &str) -> bool;
}

Required Methods§

Source

fn hash(&self, value: &str) -> Result<String, PicaError>

Source

fn verify(&self, value: &str, hash: &str) -> bool

Implementors§