100 inline const Secure::Password& Password() const noexcept {
112 Secure::Password m_password;
120 Generic(type), m_password(
std::move(password)) {}
Abstract crypter.
Definition generic.hxx:85
Password-based symmetric crypter.
Definition generic.hxx:57
Symmetric(Symmetric &&other) noexcept=default
Move constructor.
Symmetric(const Symmetric &other)=default
Copy constructor.
virtual ~Symmetric() noexcept override
Destructor.
static Secure::Password RandomPassword(size_t length=32) noexcept
Random password of raw bytes (not text).
Shared, wiped container for passwords and raw key material.
Definition password.hxx:104
Ciphers of the Crypto module.
Generic::PointerType Create(enum Type type, KeyPair::Generic::PointerType keypair) noexcept
Factory from a keypair pointer.
#define STORMBYTE_CRYPTO_PUBLIC
Definition visibility.h:53