Crate ed25519_to_curve25519
source ·Expand description
Ed25519 keys can be converted to X25519 keys, so that the same key pair can be used both for authenticated encryption (crypto_box) and for signatures (crypto_sign).
Functions
- Convert Ed25519 public key to Curve25519 public key.
- Convert Ed25519 sign to Curve25519 sign.
- Convert Ed25519 secret key to Curve25519 secret key.