C# Port of the Curve25519 Diffie-Hellman function