MCKL
Monte Carlo Kernel Library
Classes | Public Types | Public Member Functions | List of all members
mckl::Skein< Generator >::mono_hasher Class Reference

Configure type for stream hasher. More...

#include <mckl/random/skein.hpp>

Classes

class  state_type
 

Public Types

using param_type = Skein::param_type
 
using type_field = Skein::type_field
 
using value_type = Skein::value_type
 

Public Member Functions

 mono_hasher (std::size_t N, const param_type &K=param_type())
 
state_type init () const
 
void output (const state_type &state, void *H) const
 
void update (state_type &state, const param_type &M) const
 

Detailed Description

template<typename Generator>
class mckl::Skein< Generator >::mono_hasher

Configure type for stream hasher.

Definition at line 120 of file skein.hpp.

Member Typedef Documentation

◆ param_type

template<typename Generator >
using mckl::Skein< Generator >::mono_hasher::param_type = Skein::param_type

Definition at line 123 of file skein.hpp.

◆ type_field

template<typename Generator >
using mckl::Skein< Generator >::mono_hasher::type_field = Skein::type_field

Definition at line 125 of file skein.hpp.

◆ value_type

template<typename Generator >
using mckl::Skein< Generator >::mono_hasher::value_type = Skein::value_type

Definition at line 124 of file skein.hpp.

Constructor & Destructor Documentation

◆ mono_hasher()

template<typename Generator >
mckl::Skein< Generator >::mono_hasher::mono_hasher ( std::size_t  N,
const param_type K = param_type() 
)
inlineexplicit

Definition at line 136 of file skein.hpp.

Member Function Documentation

◆ init()

template<typename Generator >
state_type mckl::Skein< Generator >::mono_hasher::init ( ) const
inline

Definition at line 142 of file skein.hpp.

◆ output()

template<typename Generator >
void mckl::Skein< Generator >::mono_hasher::output ( const state_type state,
void *  H 
) const
inline

Definition at line 175 of file skein.hpp.

◆ update()

template<typename Generator >
void mckl::Skein< Generator >::mono_hasher::update ( state_type state,
const param_type M 
) const
inline

Definition at line 159 of file skein.hpp.