openMSX
Public Member Functions | Public Attributes | List of all members
openmsx::TigerHash Struct Reference

This struct represents the result of a tiger-hash. More...

#include <tiger.hh>

Collaboration diagram for openmsx::TigerHash:
Collaboration graph
[legend]

Public Member Functions

std::string toString () const
 

Public Attributes

union {
   std::array< uint64_t, 3 >   h64
 
   std::array< uint8_t, 24 >   h8
 
}; 
 

Detailed Description

This struct represents the result of a tiger-hash.

This is a 192-bit value. It can be formatted as a 39-char base32-encoded string. Similar to the output of the unix 'tthsum' tool.

Definition at line 29 of file tiger.hh.

Member Function Documentation

◆ toString()

std::string openmsx::TigerHash::toString ( ) const

Definition at line 12 of file tiger.cc.

References h8, and t.

Referenced by TEST_CASE().

Member Data Documentation

◆ 

union { ... } openmsx::TigerHash::@7

◆ h64

std::array<uint64_t, 3> openmsx::TigerHash::h64

Definition at line 33 of file tiger.hh.

Referenced by openmsx::tiger(), openmsx::tiger_int(), and openmsx::tiger_leaf().

◆ h8

std::array<uint8_t, 24> openmsx::TigerHash::h8

Definition at line 34 of file tiger.hh.

Referenced by toString().


The documentation for this struct was generated from the following files: