blob: c4c5e07720a58f2c33e32a9f1905b28b3ec10219 (
plain) (
blame)
1
2
3
4
5
6
7
|
Curve25519 is a state-of-the-art Diffie-Hellman function suitable for a wide
variety of applications.
Given a user's 32-byte secret key, Curve25519 computes the user's 32-byte public
key. Given the user's 32-byte secret key and another user's 32-byte public key,
Curve25519 computes a 32-byte secret shared by the two users. This secret can
then be used to authenticate and encrypt messages between the two users.
|