Type wrappers for OnionKey/NtorOnionKey
Currently there is a type to represent an onion key of "any type" (currently only Ntor is supported) in intro_payload.rs
in tor-cell
. Really, it might be nicer to have NtorOnionKey
be a full-fledged wrapper type, and to have an OnionKey
enum that can hold (in theory) any type of onion key.
tor-linkspec
might be a logical place for this, or we might make another lower-level crypto crate like tor-hscrypto
.