rok::core::crypto::x25519
X25519 (RFC 7748): Diffie-Hellman on Curve25519's u coordinate.
Structs
X25519
pub struct X25519X25519 key agreement. Keys are 32 bytes.
pub fn public_key(secret: Bytes) throws (ValueError) -> List<u8>The public key of a 32-byte secret (clamped as RFC 7748 says).