Hashes as SHA1.
More...
#include <stdex/hash.hpp>
|
| virtual void | clear () |
| | Initializes hash value and internal state.
|
| |
| virtual void | finalize () |
| | Finalizes hash value.
|
| |
| virtual void | hash (_In_reads_bytes_opt_(length) const void *data, size_t length) |
| | Hashes block of data.
|
| |
|
const sha1_t & | data () |
| | Returns hash value.
|
| |
|
| operator const sha1_t & () const |
| | Returns hash value.
|
| |
|
|
uint32_t | m_state [5] |
| |
|
uint32_t | m_counter [2] |
| |
|
union { | |
| |
|
uint8_t m_queue [64] | |
| |
|
uint32_t m_temp [16] | |
| |
| }; | | |
| |
|
sha1_t | m_value |
| |
|
|
static size_t | size () |
| | Returns size of the hash value in bytes.
|
| |
|
uint8_t | m_queue [64] |
| |
|
uint32_t | m_temp [16] |
| |
◆ clear()
| virtual void stdex::sha1_hash::clear |
( |
| ) |
|
|
inlinevirtual |
◆ finalize()
| virtual void stdex::sha1_hash::finalize |
( |
| ) |
|
|
inlinevirtual |
◆ hash_block()
| virtual void stdex::sha1_hash::hash_block |
( |
| ) |
|
|
inlineprotectedvirtual |
The documentation for this class was generated from the following file: