Trait castor::Hash

source ·
pub trait Hash: Digest {
    fn hex(self) -> String;
}
Expand description

Hash adds the hex method to types that already implement Digest to simplify the process of generating a new token

Required Methods§

hex should return the hexidecimal representation of the hash without the “0x” prefix

Implementors§