claw_crypto_interface/
hash_service.rs

1use mockall::automock;
2
3#[automock]
4pub trait HashService {
5    fn hash(&self, string: &str) -> Result<String, ()>;
6
7    fn verify(&self, token: &str, token_hash: &str) -> bool;
8}