View Source Curve25519 (Curve25519 v1.0.5)
Curve25519 Diffie-Hellman functions
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
Types
@type key() :: binary()
public or secret key
Functions
Derive the public key from a secret key
Generate a secret/public key pair
Returned tuple contains {random_secret_key, derived_public_key}