Skip to main content

crypto::SecretExchange

Types

SharedSecret#

using 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) const#

SharedSecret crypto::SecretExchange::get_shared_secret (const PublicKey &public_key) const

Type: SharedSecret

Parameters:

public_key() const#

inline

const PublicKey & crypto::SecretExchange::public_key () const

Type: const PublicKey &