Function x25519_dalek::diffie_hellman [] [src]

pub fn diffie_hellman(my_secret: &[u8; 32], their_public: &[u8; 32]) -> [u8; 32]

Utility function to make it easier to call x25519() with byte arrays as inputs and outputs.