Generic(const Generic &other)=default
Copy constructor.
X25519(X25519 &&other) noexcept=default
Move constructor.
X25519(const X25519 &other)=default
Copy constructor.
Generic::PointerType Move() override
Move this object into a new instance.
StormByte::Safe::Optional< Secure::Password > Share(const StormByte::Safe::String &peerPublicKey) const override
Derive a shared secret.
Generic::PointerType Clone() const override
Clone this object.
X25519(KeyPair::Generic::PointerType keypair) noexcept
Construct from an X25519 keypair (needs private key).
Definition x25519.hxx:77
static StormByte::Safe::Optional< Secure::Password > DeriveSharedSecret(KeyPair::Generic::PointerType keypair, const StormByte::Safe::String &peerPublicKey)
Derive a shared secret without an instance.
~X25519() noexcept
Destructor.
STORMBYTE_DECLARE_MAYBE_SAFE(class StormByte::System::Device::Access)
Keypairs of the Crypto module.
Key agreement of the Crypto module.
@ X25519
X25519.
Definition generic.hxx:74
Wiped secrets of the Crypto module (Password, Vault).
Crypto module of the StormByte suite.
Definition aead.hxx:53
Root namespace of the StormByte suite.
#define STORMBYTE_CRYPTO_PUBLIC
Definition visibility.h:53