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§
- Ed25519
Identity - An unchecked, unvalidated Ed25519 key.
- Expanded
Keypair - A variant of
Keypair
containing an [ExpandedSecretKey
]. - Keypair
- An Ed25519 keypair.
- Public
Key - An Ed25519 public key.
- Signature
- An Ed25519 signature.
- Validatable
Ed25519 Signature - An ed25519 signature, plus the document that it signs and its public key.
Constants§
- ED25519_
ID_ LEN - The length of an ED25519 identity, in bytes.
- ED25519_
SIGNATURE_ LEN - The length of an ED25519 signature, in bytes.
Traits§
- Ed25519
Public Key - An object that has an Ed25519
PublicKey
. - Ed25519
Signing Key - An object that can generate Ed25519 signatures.
Functions§
- validate_
batch - Perform a batch verification operation on the provided signatures