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

#include "randomhash.hh"

Classes

struct State

Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

~SHAKE256()

~SHAKE256 ( )

SHAKE256()

SHAKE256 ( )

Create context to calculate an unbounded SHAKE256 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)