Function cryptoxide::curve25519::curve25519[][src]

pub fn curve25519(n: &[u8], p: &[u8]) -> [u8; 32]
Expand description

Computes a shared secret from the curve25519 private key (n) and public key (p)