1#ifndef PASSWORD_FILE_UTIL_OPENSSL_H
2#define PASSWORD_FILE_UTIL_OPENSSL_H
14 static constexpr std::size_t
size = 32;
#define PASSWORD_FILE_EXPORT
Marks the symbol to be exported by the passwordfile library.
PASSWORD_FILE_EXPORT void init()
Initializes OpenSSL.
PASSWORD_FILE_EXPORT void clean()
Cleans resources of OpenSSL.
PASSWORD_FILE_EXPORT std::uint32_t generateRandomNumber(std::uint32_t min, std::uint32_t max)
PASSWORD_FILE_EXPORT Sha256Sum computeSha256Sum(const unsigned char *buffer, std::size_t size)
Computes a SHA-256 sum using OpenSSL.
Contains utility classes and functions.
static constexpr std::size_t size