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ยง

ed25519_pk_to_curve25519
Convert Ed25519 public key to Curve25519 public key.
ed25519_sign_to_curve25519
Convert Ed25519 sign to Curve25519 sign.
ed25519_sk_to_curve25519
Convert Ed25519 secret key to Curve25519 secret key.