8 releases (breaking)

new 0.30.0 May 1, 2025
0.29.0 Apr 1, 2025
0.28.0 Mar 3, 2025
0.27.0 Feb 7, 2025
0.23.0 Sep 30, 2024

#2405 in Cryptography

Download history 873/week @ 2025-01-09 1267/week @ 2025-01-16 1229/week @ 2025-01-23 619/week @ 2025-01-30 2514/week @ 2025-02-06 1066/week @ 2025-02-13 510/week @ 2025-02-20 724/week @ 2025-02-27 534/week @ 2025-03-06 675/week @ 2025-03-13 684/week @ 2025-03-20 821/week @ 2025-03-27 664/week @ 2025-04-03 1085/week @ 2025-04-10 1992/week @ 2025-04-17 1578/week @ 2025-04-24

5,521 downloads per month
Used in 37 crates (4 directly)

MIT/Apache

415KB
6K SLoC

tor-keys

Crate for the cryptographic keys in the Tor landscape.

Overview

The tor-keys crate manages all high level wrappers around lower-level cryptographic primitives found in tor-llcrypto.

More specifically, wrappers are used in order to bring semantic on top of lower-level crypto keys which helps avoid mixing keys in the code base.

For example, defining a long term identity relay signing keypair around a lower level ed25519 keypair makes it so that we can't use that key to be used for another purpose.

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

License: MIT OR Apache-2.0

Dependencies

~14–24MB
~369K SLoC