Anklang C++ API 0.0.0
Loading...
Searching...
No Matches
SHAKE128

#include "randomhash.hh"

Classes

struct State

Public Member Functions

voidreset ()
SHAKE128 ()
voidsqueeze_digest (uint8_t *hashvalues, size_t n)
voidupdate (const String &s)
voidupdate (const uint8_t *data, size_t length)
~SHAKE128 ()

Detailed Description

SHAKE128 - 128 Bit extendable output digest generation. This class implements the SHA3 extendable output hash funtion with 128 bit security strength, see FIPS 202 [Fips202] .

Constructor & Destructor Documentation

~SHAKE128()

~SHAKE128 ( )

SHAKE128()

SHAKE128 ( )

Create context to calculate an unbounded SHAKE128 hash digest.

Member Function Documentation

reset()

void reset ( )

Reset state to feed and retrieve a new hash value.

update() [1/2]

void update ( const uint8_t * data,
size_t length
)

Feed data to be hashed.

squeeze_digest()

void squeeze_digest ( uint8_t * hashvalues,
size_t n
)

Retrieve an arbitrary number of hash value bytes.

update() [2/2]

void update ( const String & s)