fourdst_plugin 0.0.1a
C++ Plugin Manager
|
OpenSSL utility functions for cryptographic operations. More...
#include <sstream>
#include <string>
#include <vector>
#include <openssl/err.h>
#include <filesystem>
Namespaces | |
namespace | fourdst |
namespace | fourdst::crypt |
namespace | fourdst::crypt::utils |
Functions | |
std::string | fourdst::crypt::utils::get_openssl_error () |
Retrieves the most recent OpenSSL error messages as a formatted string. | |
std::string | fourdst::crypt::utils::calculate_sha256 (const std::filesystem::path &filepath) |
Calculates the SHA-256 hash of a file's contents. | |
std::string | fourdst::crypt::utils::calculate_sha256_from_buffer (const std::vector< unsigned char > &data) |
Calculates the SHA-256 hash of a binary buffer. | |
OpenSSL utility functions for cryptographic operations.
This header provides utility functions for working with OpenSSL, including error handling and common cryptographic operations like SHA-256 hashing.