[−][src]Module koibumi_core::hash
Wrappers for hash functions used by the Bitmessage protocol.
Structs
Hash160 | Represents 160 bit hash value. |
Hash256 | Represents 256 bit hash value. |
Hash512 | Represents 512 bit hash value. |
Functions
double_sha256 | Performs double SHA-256 on an arbitrary byte array input, that is equivalent to sha256(sha256(input)). |
double_sha512 | Performs double SHA-512 on an arbitrary byte array input, that is equivalent to sha512(sha512(input)). |
double_sha512_2inputs | Performs double SHA-512 on two arbitrary byte array inputs, that is equivalent to sha512(sha512(input0 | input1)). |
ripemd160 | Performs RIPEMD-160 on an arbitrary byte array input. |
ripemd160_sha512 | Performs SHA-512 on an arbitrary byte array input and then RIPEMD-160 on the previous result hash value, that is equivalent to ripemd160(sha512(input)). |
sha256 | Performs SHA-256 on an arbitrary byte array input. |
sha512 | Performs SHA-512 on an arbitrary byte array input. |
sha3_256 | Performs SHA3-256 on an arbitrary byte array input. |