tlx
sha256.cpp File Reference
#include <tlx/digest/sha256.hpp>
#include <tlx/math/ror.hpp>
#include <tlx/string/hexdump.hpp>
#include <algorithm>

Go to the source code of this file.

Namespaces

 tlx
 

Typedefs

typedef uint32_t u32
 
typedef uint64_t u64
 

Functions

std::string sha256_hex (const void *data, uint32_t size)
 process data and return 32 byte (256 bit) digest hex encoded More...
 
std::string sha256_hex (const std::string &str)
 process data and return 32 byte (256 bit) digest hex encoded More...
 
std::string sha256_hex_uc (const void *data, uint32_t size)
 process data and return 32 byte (256 bit) digest upper-case hex encoded More...
 
std::string sha256_hex_uc (const std::string &str)
 process data and return 32 byte (256 bit) digest upper-case hex encoded More...