6 #ifndef KAGOME_CORE_CRYPTO_HASHER_HASHER_IMPL_HPP_ 7 #define KAGOME_CORE_CRYPTO_HASHER_HASHER_IMPL_HPP_ 17 Hash64 twox_64(gsl::span<const uint8_t> buffer)
const override;
40 #endif // KAGOME_CORE_CRYPTO_HASHER_HASHER_IMPL_HPP_ Hash128 twox_128(gsl::span< const uint8_t > buffer) const override
twox_128 calculates 16-byte twox hash
Hash256 twox_256(gsl::span< const uint8_t > buffer) const override
twox_256 calculates 32-byte twox hash
Hash64 twox_64(gsl::span< const uint8_t > buffer) const override
twox_64 calculates 8-byte twox hash
~HasherImpl() override=default
Hash256 blake2s_256(gsl::span< const uint8_t > buffer) const override
blake2s_256 function calculates 32-byte blake2s hash
Hash256 sha2_256(gsl::span< const uint8_t > buffer) const override
sha2_256 function calculates 32-byte sha2-256 hash
Hash512 blake2b_512(gsl::span< const uint8_t > buffer) const override
blake2b_512 function calculates 64-byte blake2b hash
Hash128 blake2b_128(gsl::span< const uint8_t > buffer) const override
blake2b_128 function calculates 16-byte blake2b hash
Hash256 keccak_256(gsl::span< const uint8_t > buffer) const override
keccak_256 function calculates 32-byte keccak hash
Hash64 blake2b_64(gsl::span< const uint8_t > buffer) const override
blake2b_64 function calculates 8-byte blake2b hash
Hash256 blake2b_256(gsl::span< const uint8_t > buffer) const override
blake2b_256 function calculates 32-byte blake2b hash