Trait HashableForVec

Source
pub trait HashableForVec {
    // Required methods
    fn hash256(&self) -> Vec<u8> ;
    fn ripemd160(&self) -> Vec<u8> ;
    fn sha256_ripemd160(&self) -> Vec<u8> ;
    fn hmac_sha512(&self, key: &[u8]) -> Vec<u8> ;
}

Required Methods§

Source

fn hash256(&self) -> Vec<u8>

Source

fn ripemd160(&self) -> Vec<u8>

Source

fn sha256_ripemd160(&self) -> Vec<u8>

Source

fn hmac_sha512(&self, key: &[u8]) -> Vec<u8>

Implementations on Foreign Types§

Source§

impl HashableForVec for Vec<u8>

Source§

fn hash256(&self) -> Vec<u8>

Source§

fn ripemd160(&self) -> Vec<u8>

Source§

fn sha256_ripemd160(&self) -> Vec<u8>

Source§

fn hmac_sha512(&self, key: &[u8]) -> Vec<u8>

Source§

impl HashableForVec for [u8]

Source§

fn hash256(&self) -> Vec<u8>

Source§

fn ripemd160(&self) -> Vec<u8>

Source§

fn sha256_ripemd160(&self) -> Vec<u8>

Source§

fn hmac_sha512(&self, key: &[u8]) -> Vec<u8>

Implementors§