Expand description

Ed25519 to Curve25519 conversion

This module implements libsodium’s Ed25519 to Curve25519 conversion functions. You can use these functions when you want to sign messages with the same keys used to encrypt messages (i.e., using a public-key box).

Generally speaking, you should avoid signing and encrypting with the same keypair. Additionally, an encrypted box doesn’t need to be separately signed as it already includes a message authentication code.

Functions

Type Aliases

  • Type alias for an Ed25519 public key.
  • Type alias for an Ed25519 secret key with seed bytes.
  • Type alias for an Ed25519 signature.