Keccak256.h

class Keccak256

Computes the Keccak-256 hash of a sequence of bytes. The hash value is 32 bytes long. Provides just one static method.

Public Static Functions

static void getHash(const std::uint8_t msg[], std::size_t len, std::uint8_t hashResult[HASH_LEN])

Calculate the Keccak 256 hash of a byte array of length len and output the result in hashResult

Public Static Attributes

static constexpr int HASH_LEN = 32