[−][src]Function monocypher::key_exchange::public
pub fn public(secret_key: [u8; 32]) -> [u8; 32]
Deterministically computes the public key from a random secret key.
Example
use monocypher::key_exchange::public; let secret_key = [2u8; 32]; public(secret_key);