crypto::SecretExchange
- Inherits: crypto::Ecc
public
Types
#
SharedSecretusing crypto::SecretExchange::SharedSecret = var::Array<u8, 32>
Type: var::Array< u8, 32 >
Functions
#
SecretExchange(Curve curve=Curve::secp256r1)explicit
crypto::SecretExchange::SecretExchange (Curve curve=Curve::secp256r1)
#
~SecretExchange()crypto::SecretExchange::~SecretExchange ()
#
get_shared_secret(const PublicKey &public_key) constSharedSecret crypto::SecretExchange::get_shared_secret (const PublicKey &public_key) const
Type: SharedSecret
Parameters:
- const PublicKey &
public_key
#
public_key() constinline
const PublicKey & crypto::SecretExchange::public_key () const
Type: const PublicKey &