Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
Ase::SHAKE256 Struct Reference

#include "randomhash.hh"

Classes

struct  State
 

Public Member Functions

 SHAKE256 ()
 Create context to calculate an unbounded SHAKE256 hash digest.
 
void reset ()
 Reset state to feed and retrieve a new hash value.
 
void update (const uint8_t *data, size_t length)
 Feed data to be hashed.
 
void squeeze_digest (uint8_t *hashvalues, size_t n)
 Retrieve an arbitrary number of hash value bytes.
 
void update (const String &s)
 

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] .

Definition at line 159 of file randomhash.hh.

Constructor & Destructor Documentation

◆ ~SHAKE256()

Ase::SHAKE256::~SHAKE256 ( )

Definition at line 537 of file randomhash.cc.

◆ SHAKE256()

Ase::SHAKE256::SHAKE256 ( )

Create context to calculate an unbounded SHAKE256 hash digest.

Definition at line 531 of file randomhash.cc.

Member Function Documentation

◆ reset()

void Ase::SHAKE256::reset ( )

Reset state to feed and retrieve a new hash value.

Definition at line 555 of file randomhash.cc.

◆ squeeze_digest()

void Ase::SHAKE256::squeeze_digest ( uint8_t hashvalues,
size_t  n 
)

Retrieve an arbitrary number of hash value bytes.

Definition at line 549 of file randomhash.cc.

Referenced by Ase::shake256_hash().

◆ update() [1/2]

void Ase::SHAKE256::update ( const String s)

Definition at line 165 of file randomhash.hh.

◆ update() [2/2]

void Ase::SHAKE256::update ( const uint8_t data,
size_t  length 
)

Feed data to be hashed.

Definition at line 543 of file randomhash.cc.

Referenced by Ase::shake256_hash().


The documentation for this struct was generated from the following files: