Enigma
3.2.0
A Simple, Reliable and Efficient Encryption Tool
|
#include <CipherChunk.hpp>
Public Member Functions | |
~CipherChunk ()=default | |
constexpr bool | operator== (const CipherChunk &c) const noexcept |
std::string | toString () const noexcept |
Public Attributes | |
std::int64_t | idc {} |
std::int64_t | ide {} |
std::int64_t | offset {} |
std::int64_t | size {} |
std::vector<::Enigma::byte > | bytes {} |
Static Public Attributes | |
static constexpr const std::string_view | TABLE_NAME = "CipherChunks" |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CipherChunk &c) noexcept |
CipherChunk Model | table: CipherChunks When we encrypt a buffer (file or text), we get back cipher (aka: encrypted content) Cipher can be large when encrypting large files so we save it in the database in chunks
Definition at line 11 of file CipherChunk.hpp.
|
default |
|
inlineconstexprnoexcept |
Definition at line 23 of file CipherChunk.hpp.
|
inlinenoexcept |
Definition at line 32 of file CipherChunk.hpp.
|
friend |
Definition at line 24 of file CipherChunk.hpp.
std::vector<::Enigma::byte> CipherChunk::bytes {} |
BLOB cipher chunk binary
Definition at line 18 of file CipherChunk.hpp.
std::int64_t CipherChunk::idc {} |
auto incremental id
Definition at line 14 of file CipherChunk.hpp.
std::int64_t CipherChunk::ide {} |
Which encryption this cipher chunk belongs to?
Definition at line 15 of file CipherChunk.hpp.
std::int64_t CipherChunk::offset {} |
Starting offset of this chunk
Definition at line 16 of file CipherChunk.hpp.
std::int64_t CipherChunk::size {} |
Cipher chunk size
Definition at line 17 of file CipherChunk.hpp.
|
staticconstexpr |
Definition at line 12 of file CipherChunk.hpp.