![]() |
Enigma 3.2.2
A Simple, Reliable and Efficient Encryption Tool
|
#include <HashUtils.hpp>
Static Public Member Functions | |
| template<typename Algo = CryptoPP::SHA256> | |
| static std::array< byte, Algo::DIGESTSIZE > | bytes (const byte *buffer, const std::size_t buffSize) |
| template<typename Algo = CryptoPP::SHA256> | |
| static std::array< byte, Algo::DIGESTSIZE > | bytes (const std::vector< byte > &buffer) |
| template<typename Algo = CryptoPP::SHA256> | |
| static std::string | str (const std::vector< byte > &buffer, const bool uppercase=false) |
| template<typename Algo = CryptoPP::SHA256> | |
| static std::array< byte, Algo::DIGESTSIZE > | fileBytes (const fs::path &filename) |
| template<typename Algo = CryptoPP::SHA256> | |
| static std::string | fileStr (const fs::path &filename, const bool uppercase=false) |
| template<typename Algo = CryptoPP::SHA256> | |
| static std::string | stringify (const std::array< byte, Algo::DIGESTSIZE > &hash, const bool uppercase=false) |
Definition at line 22 of file HashUtils.hpp.
|
inlinestatic |
Definition at line 27 of file HashUtils.hpp.
|
inlinestatic |
Definition at line 35 of file HashUtils.hpp.
|
inlinestatic |
Definition at line 48 of file HashUtils.hpp.
|
inlinestatic |
Definition at line 82 of file HashUtils.hpp.
|
inlinestatic |
Definition at line 40 of file HashUtils.hpp.
|
inlinestatic |
Definition at line 108 of file HashUtils.hpp.