Keccak Class Reference

#include <Keccak.h>

Inheritance diagram for Keccak:
Collaboration diagram for Keccak:

List of all members.

Public Member Functions

 Keccak (unsigned int aRate=1024, unsigned int aCapacity=576)
virtual ~Keccak ()
string getDescription () const

Detailed Description

Class that implements the Keccak sponge function family.

Constructor & Destructor Documentation

Keccak::Keccak ( unsigned int  aRate = 1024,
unsigned int  aCapacity = 576 

The constructor. It dynamically allocates a KeccakF permutation.

aRateThe desired rate (in bits) of the Keccak sponge function.
aCapacityThe desired capacity (in bits) of the Keccak sponge function. The sum of the rate and capacity must be equal to the width of one of the Keccak-f permutations.
Keccak::~Keccak ( ) [virtual]

The destructor. It frees the allocated KeccakF permutation.

Member Function Documentation

string Keccak::getDescription ( ) const [virtual]

Method that returns a string describing the instance of the Keccak sponge function.

Reimplemented from Sponge.

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