libDwmCredence-0.1.32
Dwm::Credence::GenericHash< OutLen > Class Template Reference

Class template that wraps sodium's crypto_generichash_* functions. More...

#include <DwmCredenceGenericHash.hh>

Public Member Functions

 GenericHash (const std::string &key="")
 Initializes the hash.
 
void Update (const std::string &chunk)
 Updates the hash.
 
std::string Final ()
 Returns the final hash.
 

Detailed Description

template<size_t OutLen>
class Dwm::Credence::GenericHash< OutLen >

Class template that wraps sodium's crypto_generichash_* functions.

The template paramater OutLen is the desired length (in bytes) of the hash returned by Final().


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