Skip to main content

Module ops

Module ops 

Source
Expand description

Mid-level cryptographic operations used in the onion service protocol.

Re-exportsยง

use tor_llcrypto::d::Sha3_256; ๐Ÿ”’
use tor_llcrypto::util::ct::CtByteArray; ๐Ÿ”’
use digest::Digest; ๐Ÿ”’

Structsยง

HsMacKey
Reference to a slice of bytes usable to compute the hs_mac function.

Constantsยง

HS_MAC_LEN
The length of the MAC returned by hs_mac.

Functionsยง

hs_mac
Compute the lightweight MAC function used in the onion service protocol.