View Source Curve25519 (Curve25519 v1.0.4)
Curve25519 Diffie-Hellman functions
Link to this section Summary
Functions
Derive the public key from a secret key
Derive a shared secret for a secret and public key
Generate a secret/public key pair
Link to this section Types
@type key() :: binary()
public or secret key
Link to this section Functions
Derive the public key from a secret key
Generate a secret/public key pair
Returned tuple contains {random_secret_key, derived_public_key}