pub trait HashService {
// Required methods
fn hash(&self, string: &str) -> Result<String, ()>;
fn verify(&self, token: &str, token_hash: &str) -> bool;
}pub trait HashService {
// Required methods
fn hash(&self, string: &str) -> Result<String, ()>;
fn verify(&self, token: &str, token_hash: &str) -> bool;
}