[−][src]Function x25519_dalek::x25519
pub fn x25519(k: [u8; 32], u: [u8; 32]) -> [u8; 32]
The bare, byte-oriented x25519 function, exactly as specified in RFC7748.
This can be used with X25519_BASEPOINT_BYTES
for people who
cannot use the better, safer, and faster DH API.