pub fn double_sha256_from_pair(first: Hash32, second: Hash32) -> Hash32Buf {
        let mut v: Vec<u8> = Vec::new();
        v.extend(first.0.iter());
        v.extend(second.0.iter());

        Hash32Buf::double_sha256(&v)
    }
/// Hashes the input twice with SHA256 and returns an owned buffer;
/// Can be extracted as an Hash32 using as_ref()
Hashes the input twice with SHA256 and returns an owned buffer;
Can be extracted as an Hash32 using as_ref()
Hashes the input twice with SHA256 and returns an owned buffer ; Can be extracted as an Hash32 using as_ref ()
pub fn double_sha256_from_pair(first: Hash32, second: Hash32) -> Hash32Buf {
        let mut v: Vec<u8> = Vec::new();
        v.extend(first.0.iter());
        v.extend(second.0.iter());
        Hash32Buf::double_sha256(&v)
    }
pub fn double_sha256_from_pair ( first : Hash32 , second : Hash32 ) -> Hash32Buf { let mut v : Vec < u8 > = Vec :: new ( ) ; v . extend ( first . 0 . iter ( ) ) ; v . extend ( second . 0 . iter ( ) ) ; Hash32Buf :: double_sha256 ( & v ) }
Hashes the input twice with SHA256 and returns an owned buffer;
Can be extracted as an Hash32 using as_ref()
Hashes the input twice with SHA256 and returns an owned buffer ; Can be extracted as an Hash32 using as_ref ()
first
Hash32
second
Hash32
first
Hash32
second
Hash32