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

#include "randomhash.hh"

Classes

struct State

Public Member Functions

voiddigest (uint8_t hashvalue[32])
voidreset ()
SHA3_256 ()
voidupdate (const String &s)
voidupdate (const uint8_t *data, size_t length)
~SHA3_256 ()

Detailed Description

SHA3_256 - 256 Bit digest generation. This class implements the SHA3 hash funtion to create 256 Bit digests, see FIPS 202 [Fips202] .

Constructor & Destructor Documentation

~SHA3_256()

~SHA3_256 ( )

SHA3_256()

SHA3_256 ( )

Create context to calculate a 256 bit SHA3 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.

digest()

void digest ( uint8_t hashvalue[32])

Retrieve the resulting hash value.

update() [2/2]

void update ( const String & s)