digestpp  0.01
Experimental C++11 header-only message digest library.
Public Member Functions | List of all members
digestpp::mixin::k12m14_mixin< T > Class Template Reference

Defines additional public functions for KangarooTwelve and MarsupilamiFourteen. More...

#include <k12m14_mixin.hpp>

Public Member Functions

hasher< T, mixin::k12m14_mixin > & set_customization (const std::string &customization)
 Set customization from std::string. More...
 
template<typename C , typename std::enable_if< detail::is_byte< C >::value >::type * = nullptr>
hasher< T, mixin::k12m14_mixin > & set_customization (const C *customization, size_t customization_len)
 Set customization from raw buffer. More...
 

Detailed Description

template<typename T>
class digestpp::mixin::k12m14_mixin< T >

Defines additional public functions for KangarooTwelve and MarsupilamiFourteen.

See also
hasher, k12, m14

Member Function Documentation

◆ set_customization() [1/2]

template<typename T >
hasher<T, mixin::k12m14_mixin>& digestpp::mixin::k12m14_mixin< T >::set_customization ( const std::string &  customization)
inline

Set customization from std::string.

Parameters
[in]customizationCustomization string
Returns
Reference to hasher

◆ set_customization() [2/2]

template<typename T >
template<typename C , typename std::enable_if< detail::is_byte< C >::value >::type * = nullptr>
hasher<T, mixin::k12m14_mixin>& digestpp::mixin::k12m14_mixin< T >::set_customization ( const C *  customization,
size_t  customization_len 
)
inline

Set customization from raw buffer.

Parameters
[in]customizationPointer to customization bytes
[in]customization_lenCustomization length (in bytes)
Returns
Reference to hasher

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