CatapultServer  v0.5.0.1 (Elephant)
Hashes.h File Reference
Include dependency graph for Hashes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  catapult::crypto::Sha3ModeTag
 Use with KeccakBuilder to generate SHA3 hashes. More...
 
struct  catapult::crypto::KeccakModeTag
 Use with KeccakBuilder to generate Keccak hashes. More...
 
class  catapult::crypto::KeccakBuilder< TModeTag, THashTag >
 Builder for building a hash. More...
 

Namespaces

 catapult
 
 catapult::crypto
 

Typedefs

using catapult::crypto::Sha3_256_Builder = KeccakBuilder< Sha3ModeTag, Hash256_tag >
 Sha3_256_Builder. More...
 
using catapult::crypto::Sha3_512_Builder = KeccakBuilder< Sha3ModeTag, Hash512_tag >
 Sha3_512_Builder. More...
 
using catapult::crypto::Keccak_256_Builder = KeccakBuilder< KeccakModeTag, Hash256_tag >
 Keccak_256_Builder. More...
 
using catapult::crypto::Keccak_512_Builder = KeccakBuilder< KeccakModeTag, Hash512_tag >
 Keccak_512_Builder. More...
 
using catapult::crypto::GenerationHash_Builder = KeccakBuilder< Sha3ModeTag, GenerationHash_tag >
 GenerationHash_Builder. More...
 

Functions

void catapult::crypto::Ripemd160 (const RawBuffer &dataBuffer, Hash160 &hash) noexcept
 Calculates the ripemd160 hash of dataBuffer into hash. More...
 
void catapult::crypto::Bitcoin160 (const RawBuffer &dataBuffer, Hash160 &hash) noexcept
 Calculates bitcoin's hash 160 of dataBuffer into hash (sha256 + ripemd). More...
 
void catapult::crypto::Sha256Double (const RawBuffer &dataBuffer, Hash256 &hash) noexcept
 Calculates double sha256 hash of dataBuffer into hash. More...
 
void catapult::crypto::Sha3_256 (const RawBuffer &dataBuffer, Hash256 &hash) noexcept
 Calculates the 256-bit SHA3 hash of dataBuffer into hash. More...
 
void catapult::crypto::Sha3_512 (const RawBuffer &dataBuffer, Hash512 &hash) noexcept
 Calculates the 512-bit SHA3 hash of dataBuffer into hash. More...
 
void catapult::crypto::Keccak_256 (const RawBuffer &dataBuffer, Hash256 &hash) noexcept
 Calculates the 256-bit Keccak hash of dataBuffer into hash. More...
 
void catapult::crypto::Keccak_512 (const RawBuffer &dataBuffer, Hash512 &hash) noexcept
 Calculates the 512-bit Keccak hash of dataBuffer into hash. More...