Module tor_llcrypto::pk::ed25519

source ·
Expand description

Re-exporting Ed25519 implementations, and related utilities.

Here we re-export types from [ed25519_dalek] that implement the Ed25519 signature algorithm. (TODO: Eventually, this module should probably be replaced with a wrapper that uses the ed25519 trait and the Signature trait.)

We additionally provide an Ed25519Identity type to represent the unvalidated Ed25519 “identity keys” that we use throughout the Tor protocol to uniquely identify a relay.

Structs§

Constants§

Traits§

  • An object that has an Ed25519 PublicKey.
  • Sign the provided message bytestring using Self (e.g. a cryptographic key or connection to an HSM), returning a digital signature.
  • Verify the provided message bytestring using Self (e.g. a public key)

Functions§

  • Perform a batch verification operation on the provided signatures