Enigma
3.2.0
A Simple, Reliable and Efficient Encryption Tool
|
#include <Encryption.hpp>
Public Member Functions | |
~Encryption () noexcept=default | |
constexpr bool | operator== (const Encryption &e) const noexcept |
std::string | toString () noexcept |
Public Attributes | |
std::int64_t | ide {} |
Algorithm::Type | algo {} |
std::string | title {} |
std::string | date_time {} |
std::int64_t | size {} |
bool | is_file {} |
std::string | file_ext {} |
Static Public Attributes | |
static constexpr const std::string_view | TABLE_NAME = "Encryptions" |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Encryption &e) noexcept |
Encryption Model | Table: Encryptions
Definition at line 14 of file Encryption.hpp.
|
defaultnoexcept |
|
inlineconstexprnoexcept |
Definition at line 28 of file Encryption.hpp.
|
inlinenoexcept |
Definition at line 38 of file Encryption.hpp.
|
friend |
Definition at line 29 of file Encryption.hpp.
Algorithm::Type Encryption::algo {} |
algorithm enum id used for encryption e.g: 1=AES ...
Definition at line 18 of file Encryption.hpp.
std::string Encryption::date_time {} |
date & time saved by sqlite3
Definition at line 20 of file Encryption.hpp.
std::string Encryption::file_ext {} |
file extension to remember file type on decryption
Definition at line 23 of file Encryption.hpp.
std::int64_t Encryption::ide {} |
auto incremental id in range [0, SIZE_MAX]
Definition at line 17 of file Encryption.hpp.
bool Encryption::is_file {} |
whether its a text or file encryption
Definition at line 22 of file Encryption.hpp.
std::int64_t Encryption::size {} |
size of cipher in bytes
Definition at line 21 of file Encryption.hpp.
|
staticconstexpr |
Definition at line 15 of file Encryption.hpp.
std::string Encryption::title {} |
encryption title, e.g: "this is my Email password"
Definition at line 19 of file Encryption.hpp.