Encrypted buffer footer.
More...
#include <Meta.hpp>
Encrypted buffer footer.
Definition at line 31 of file Meta.hpp.
◆ fromBase64()
static EnigmaFooter Meta::EnigmaFooter::fromBase64 |
( |
const std::string & |
base64 | ) |
|
|
static |
◆ fromBytes() [1/2]
static EnigmaFooter Meta::EnigmaFooter::fromBytes |
( |
const byte * |
bytes, |
|
|
const std::size_t |
bytesSize |
|
) |
| |
|
static |
◆ fromBytes() [2/2]
static EnigmaFooter Meta::EnigmaFooter::fromBytes |
( |
const std::vector< byte > & |
bytes | ) |
|
|
static |
◆ fromFile()
static EnigmaFooter Meta::EnigmaFooter::fromFile |
( |
const fs::path & |
filename | ) |
|
|
static |
◆ sizeInBytes()
size_type Meta::EnigmaFooter::sizeInBytes |
( |
| ) |
const |
|
noexcept |
◆ toBytes()
std::vector<byte> Meta::EnigmaFooter::toBytes |
( |
| ) |
const |
Convert instance of this struct to an array of bytes.
◆ algo
◆ extra
std::vector<byte> Meta::EnigmaFooter::extra {} |
◆ hash
std::array<byte, CryptoPP::SHA256::DIGESTSIZE> Meta::EnigmaFooter::hash {} |
SHA2-256 Hash of the original file or text, used to ensure decryption is successful.
Definition at line 39 of file Meta.hpp.
◆ iv
std::vector<byte> Meta::EnigmaFooter::iv {} |
IV used encryption.
Definition at line 41 of file Meta.hpp.
◆ magic
◆ version
std::uint64_t Meta::EnigmaFooter::version = ENIGMA_VERSION_MAJOR * 100'000 + ENIGMA_VERSION_MINOR * 1000 + ENIGMA_VERSION_PATCH |
The documentation for this struct was generated from the following file: