Module key

Source

Structs§

TorEd25519SigningKey
Tor Ed25519 Signing (private) key
TorServiceId
The service ID for the onion service.

Type Aliases§

TorBlob
Type definition for the blob data returned by Tor The blob is the byte representation of the Ed25519 signing key as used by Tor. It’s the output of doing a SHA-512 hash of the original secret key, followed by clamping, so it’s basically the “ExpandedSecretKey”. This yields the scalar used to multiply the base point, and the “hash prefix” which is also used in the signature.