stdex
Additional custom or not Standard C++ covered algorithms
Loading...
Searching...
No Matches
stdex::md5_hash Class Reference

Hashes as MD5. More...

#include <stdex/hash.hpp>

Inheritance diagram for stdex::md5_hash:
stdex::block_hash< md5_t > stdex::basic_hash< md5_t >

Public Member Functions

virtual void clear ()
 Initializes hash value and internal state.
 
virtual void finalize ()
 Finalizes hash value.
 
- Public Member Functions inherited from stdex::block_hash< md5_t >
virtual void hash (_In_reads_bytes_opt_(length) const void *data, size_t length)
 Hashes block of data.
 
- Public Member Functions inherited from stdex::basic_hash< md5_t >
const md5_tdata ()
 Returns hash value.
 
 operator const md5_t & () const
 Returns hash value.
 

Protected Member Functions

virtual void hash_block ()
 
- Protected Member Functions inherited from stdex::block_hash< md5_t >

Protected Attributes

uint32_t m_state [4]
 
- Protected Attributes inherited from stdex::block_hash< md5_t >
uint32_t m_counter [2]
 
union { 
 
   uint8_t   m_queue [64] 
 
   uint32_t   m_temp [16] 
 
};  
 
- Protected Attributes inherited from stdex::basic_hash< md5_t >
md5_t m_value
 

Additional Inherited Members

- Static Public Member Functions inherited from stdex::basic_hash< md5_t >
static size_t size ()
 Returns size of the hash value in bytes.
 
- Public Attributes inherited from stdex::block_hash< md5_t >
uint8_t m_queue [64]
 
uint32_t m_temp [16]
 

Detailed Description

Hashes as MD5.

Member Function Documentation

◆ clear()

virtual void stdex::md5_hash::clear ( )
inlinevirtual

Initializes hash value and internal state.

Reimplemented from stdex::block_hash< md5_t >.

◆ finalize()

virtual void stdex::md5_hash::finalize ( )
inlinevirtual

Finalizes hash value.

Implements stdex::basic_hash< md5_t >.

◆ hash_block()

virtual void stdex::md5_hash::hash_block ( )
inlineprotectedvirtual

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