tlx
Loading...
Searching...
No Matches
sha1.hpp File Reference
#include <cstdint>
#include <string>

Go to the source code of this file.

Classes

class  SHA1
 SHA-1 processor without external dependencies. More...

Namespaces

namespace  tlx

Functions

std::string sha1_hex (const void *data, std::uint32_t size)
 process data and return 20 byte (160 bit) digest hex encoded
std::string sha1_hex (const std::string &str)
 process data and return 20 byte (160 bit) digest hex encoded
std::string sha1_hex_uc (const void *data, std::uint32_t size)
 process data and return 20 byte (160 bit) digest upper-case hex encoded
std::string sha1_hex_uc (const std::string &str)
 process data and return 20 byte (160 bit) digest upper-case hex encoded