#include <Meta.hpp>
Notes:
Definition at line 19 of file Meta.hpp.
◆ magic_t
◆ size_type
◆ isEnigmaCipher() [1/2]
static bool Meta::isEnigmaCipher |
( |
const byte * |
cipher, |
|
|
const std::size_t |
cipherSize |
|
) |
| |
|
static |
Returns true if the file is encrypted with enigma.
◆ isEnigmaCipher() [2/2]
static bool Meta::isEnigmaCipher |
( |
const std::vector< byte > & |
cipher | ) |
|
|
static |
◆ isEnigmaFile()
static bool Meta::isEnigmaFile |
( |
const fs::path & |
filename | ) |
|
|
static |
Returns true if the file is encrypted with enigma.
◆ readCipherChunks()
static void Meta::readCipherChunks |
( |
const fs::path & |
filename, |
|
|
const std::function< bool(EnigmaCipherChunk &&)> & |
callback |
|
) |
| |
|
static |
Read cipher chunks from an Enigma encrypted file.
◆ ENIGMA_BUFFER_DEFAULT_SIZE
◆ ENIGMA_CIPHER_CHUNK_MAGIC
constexpr const magic_t Meta::ENIGMA_CIPHER_CHUNK_MAGIC = 0x43456e69676d6143 |
|
staticconstexpr |
◆ ENIGMA_MAGIC
constexpr const magic_t Meta::ENIGMA_MAGIC = 0x456e69676d61 |
|
staticconstexpr |
The documentation for this class was generated from the following file: