|
CatapultServer
v0.5.0.1 (Elephant)
|
Builder for building a hash. More...
Public Types | |
| using | OutputType = utils::ByteArray< THashTag::Byte_Size, THashTag > |
Public Member Functions | |
| KeccakBuilder () | |
| Creates a builder. More... | |
| void | update (const RawBuffer &dataBuffer) noexcept |
| Updates the state of hash with data inside dataBuffer. More... | |
| void | update (std::initializer_list< const RawBuffer > buffers) noexcept |
| Updates the state of hash with concatenated buffers. More... | |
| void | final (OutputType &output) noexcept |
| Finalize hash calculation. Returns result in output. More... | |
Private Attributes | |
| uint8_t | m_hashContext [256] |
Builder for building a hash.
| using catapult::crypto::KeccakBuilder< TModeTag, THashTag >::OutputType = utils::ByteArray<THashTag::Byte_Size, THashTag> |
| catapult::crypto::KeccakBuilder< TModeTag, THashTag >::KeccakBuilder | ( | ) |
Creates a builder.
|
noexcept |
Finalize hash calculation. Returns result in output.

|
noexcept |
Updates the state of hash with data inside dataBuffer.

|
noexcept |
Updates the state of hash with concatenated buffers.
|
private |