Trait HashableForString

Source
pub trait HashableForString {
    // Required methods
    fn hash256(&self) -> String;
    fn ripemd160(&self) -> String;
    fn sha256_ripemd160(&self) -> String;
    fn hmac_sha512(&self, key: &str) -> String;
    fn hash160(&self) -> String;
}

Required Methods§

Source

fn hash256(&self) -> String

Source

fn ripemd160(&self) -> String

Source

fn sha256_ripemd160(&self) -> String

Source

fn hmac_sha512(&self, key: &str) -> String

Source

fn hash160(&self) -> String

Implementations on Foreign Types§

Source§

impl HashableForString for String

Implementors§