![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cHashSHA1.h>
Public Member Functions | |
| cHashSHA1 () | |
| cHashSHA1 (const char *pszHexDigest) | |
| UNITTEST_FRIEND (cHashSHA1) | |
Public Member Functions inherited from GrayLib::cHashCodeT< 20 > | |
| bool | isValidHash () const noexcept |
| size_t | get_HashSize () const noexcept |
| cHashCode | get_HashCode () const |
| StrLen_t | GetHexDigest (OUT char *pszHexString) const |
| cStringA | get_HexDigest () const |
| HRESULT | put_HexDigest (const char *pszInp) |
Public Member Functions inherited from Gray::cMemStatic< TYPE_SIZE > | |
| size_t | get_DataLength () const noexcept |
| const BYTE * | get_DataBytes () const noexcept |
| operator const BYTE * () const noexcept | |
Static Public Member Functions | |
| static size_t GRAYCALL | ComputeHash (BYTE pOutput[20], const void *pInput, size_t nInputSize) |
| static size_t GRAYCALL | ComputeHmac (BYTE pOutput[20], const BYTE *pKey, size_t nKeySize, const void *pInput, size_t nInputSize) |
Friends | |
| class | cHashSHA1Builder |
Additional Inherited Members | |
Public Attributes inherited from Gray::cMemStatic< TYPE_SIZE > | |
| BYTE | m_Data [TYPE_SIZE] |
| All objects of this type are this size. More... | |
Static Public Attributes inherited from Gray::cMemStatic< TYPE_SIZE > | |
| static const size_t | k_Size = TYPE_SIZE |
| All hashes of this type are this size (bytes). More... | |
| static const size_t | k_SizeHexDigest = ((TYPE_SIZE * 2) + 1) |
| hold a string with the hex digest of this. (chars). More... | |
20 byte hash. SSL_Hash_SHA1. Ignore SSL_Hash_SHA224? SHA1 = 160 = Hold a 20-byte SHA1 hash from any source. Similar to cHashMD5 (but SHA1 is better?) RFC 3174: US Secure Hash Algorithm 160 (SHA1).
|
inline |
|
inline |
|
static |
|
static |
| GrayLib::cHashSHA1::UNITTEST_FRIEND | ( | cHashSHA1 | ) |
|
friend |