3 releases (breaking)

new 0.25.0 Dec 2, 2024
0.24.0 Oct 31, 2024
0.23.0 Sep 30, 2024

#2432 in Cryptography

Download history 167/week @ 2024-09-28 19/week @ 2024-10-05 8/week @ 2024-10-12 10/week @ 2024-10-19 105/week @ 2024-10-26 15/week @ 2024-11-02 3/week @ 2024-11-16 1/week @ 2024-11-23 142/week @ 2024-11-30

147 downloads per month
Used in arti-relay

MIT/Apache and maybe LGPL-3.0-only

570KB
10K 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

~21–32MB
~497K SLoC