1 unstable release

0.23.0 Sep 30, 2024

#2392 in Cryptography

Download history 173/week @ 2024-09-29 14/week @ 2024-10-06

187 downloads per month
Used in 3 crates (via arti-relay)

MIT/Apache

285KB
5K SLoC

tor-relay-crypto

tor-relay-crypto: Cryptography module for a relay.

Overview

This crate is part of Arti, a project to implement Tor in Rust.

Relays need some cryptographic operations to be able to publish their descriptors and authenticate channels in order to prove their identity.

  • A set of keys that are long-term, mid-term and short-term mostly used for channel authentication.

This crate implements operations around those keys, along with a set of wrapper types to keep us from getting confused about the numerous keys. Semantic around objects is always better than generic names ;)!

License: MIT OR Apache-2.0


lib.rs:

Dependencies

~19–31MB
~452K SLoC