The Battle for Wesnoth  1.19.0-dev
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
utils::hash_digest< sz, T > Class Template Reference

#include <hash.hpp>

Inheritance diagram for utils::hash_digest< sz, T >:

Public Member Functions

std::array< T, sz > raw_digest () const
 
- Public Member Functions inherited from utils::hash_base
virtual std::string base64_digest () const =0
 
virtual std::string hex_digest () const =0
 
virtual ~hash_base ()
 

Static Public Attributes

static const unsigned int DIGEST_SIZE = sz
 

Protected Attributes

std::array< T, sz > hash
 

Detailed Description

template<std::size_t sz, typename T = uint8_t>
class utils::hash_digest< sz, T >

Definition at line 43 of file hash.hpp.

Member Function Documentation

◆ raw_digest()

template<std::size_t sz, typename T = uint8_t>
std::array<T, sz> utils::hash_digest< sz, T >::raw_digest ( ) const
inline

Definition at line 49 of file hash.hpp.

References utils::hash_digest< sz, T >::hash.

Member Data Documentation

◆ DIGEST_SIZE

template<std::size_t sz, typename T = uint8_t>
const unsigned int utils::hash_digest< sz, T >::DIGEST_SIZE = sz
static

Definition at line 48 of file hash.hpp.

◆ hash

template<std::size_t sz, typename T = uint8_t>
std::array<T, sz> utils::hash_digest< sz, T >::hash
protected

Definition at line 46 of file hash.hpp.

Referenced by utils::bcrypt::hash_pw(), and utils::hash_digest< sz, T >::raw_digest().


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