7 releases (breaking)

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

#2476 in Cryptography

Download history 1423/week @ 2024-12-09 1089/week @ 2024-12-16 520/week @ 2024-12-23 461/week @ 2024-12-30 1196/week @ 2025-01-06 1107/week @ 2025-01-13 1024/week @ 2025-01-20 1074/week @ 2025-01-27 2056/week @ 2025-02-03 1352/week @ 2025-02-10 741/week @ 2025-02-17 521/week @ 2025-02-24 719/week @ 2025-03-03 687/week @ 2025-03-10 605/week @ 2025-03-17 624/week @ 2025-03-24

2,666 downloads per month
Used in 38 crates (4 directly)

MIT/Apache

395KB
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

~13–24MB
~357K SLoC