Module tor_interface::tor_crypto
source · Expand description
Tor-specific cryptographic primitives, operations, and conversion functions.
Structs§
- An ed25519 private key.
- An ed25519 public key.
- An ed25519 cryptographic signature
- A v3 onion-service id
- An x25519 private key
- An x25519 public key
Enums§
- Represents various errors that can occur in the tor_crypto module.
- An enum representing a single bit
Constants§
- The number of bytes needed to store base64 encoded ed25519 private key as an ASCII c-string (not including null-terminator)
- The number of bytes needed to store the keyblob header
- The number of bytes needed to store ed25519 private keyblob as an ASCII c-string (not including a null terminator)
- The number of bytes needed to store ed25519 private keyblob as an ASCII c-string (including a null terminator)
- The number of bytes in an ed25519 secret key cbindgen:ignore
- The number of bytes in an ed25519 public key cbindgen:ignore
- The number of bytes in an ed25519 signature cbindgen:ignore
- The number of bytes needed to store onion service id as an ASCII c-string (not including null-terminator)
- The number of bytes needed to store onion service id as an ASCII c-string (including null-terminator)
- The number of bytes needed to store base64 encoded x25519 private key as an ASCII c-string (not including null-terminator)
- The number of bytes needed to store base64 encoded x25519 private key as an ASCII c-string (including a null terminator)
- The number of bytes in an x25519 private key cbindgen:ignore
- The number of bytes needed to store base32 encoded x25519 public key as an ASCII c-string (not including null-terminator)
- The number of bytes needed to store base32 encoded x25519 public key as an ASCII c-string (including a null terminator)
- The number of bytes in an x25519 publickey cbindgen:ignore