The Battle for Wesnoth  1.15.1+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 >:
Inheritance graph

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 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.

Referenced by utils::md5::md5().

Member Data Documentation

◆ DIGEST_SIZE

template<std::size_t sz, typename T = uint8_t>
const 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().


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