Arduino Cryptography Library
Public Member Functions | List of all members
SHAKE128 Class Reference

SHAKE Extendable-Output Function (XOF) with 128-bit security. More...

#include <SHAKE.h>

Inheritance diagram for SHAKE128:
SHAKE XOF

Public Member Functions

 SHAKE128 ()
 Constructs a SHAKE object with 128-bit security.
 
virtual ~SHAKE128 ()
 Destroys this SHAKE128 object after clearing all sensitive information.
 
- Public Member Functions inherited from SHAKE
virtual ~SHAKE ()
 Destroys this SHAKE object after clearing all sensitive information.
 
size_t blockSize () const
 Size of the internal block used by the XOF algorithm, in bytes. More...
 
void reset ()
 Resets the XOF ready for a new session. More...
 
void update (const void *data, size_t len)
 Updates the XOF with more data. More...
 
void extend (uint8_t *data, size_t len)
 Generates extendable output from this XOF. More...
 
void encrypt (uint8_t *output, const uint8_t *input, size_t len)
 Encrypts an input buffer with extendable output from this XOF. More...
 
void clear ()
 Clears the hash state, removing all sensitive data, and then resets the XOF ready for a new session. More...
 
- Public Member Functions inherited from XOF
 XOF ()
 Constructs a new XOF object.
 
virtual ~XOF ()
 Destroys this XOF object. More...
 
void decrypt (uint8_t *output, const uint8_t *input, size_t len)
 Decrypts an input buffer with extendable output from this XOF. More...
 

Additional Inherited Members

- Protected Member Functions inherited from SHAKE
 SHAKE (size_t capacity)
 Constructs a SHAKE object. More...
 

Detailed Description

SHAKE Extendable-Output Function (XOF) with 128-bit security.

Reference: http://en.wikipedia.org/wiki/SHA-3

See also
SHAKE256, SHAKE, SHA3_256

Definition at line 52 of file SHAKE.h.


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