5 releases (breaking)

new 0.27.0 Feb 7, 2025
0.26.0 Jan 7, 2025
0.25.0 Dec 2, 2024
0.24.0 Oct 31, 2024
0.23.0 Sep 30, 2024

#2238 in Cryptography

Download history 316/week @ 2024-10-24 1085/week @ 2024-10-31 295/week @ 2024-11-07 937/week @ 2024-11-14 748/week @ 2024-11-21 1200/week @ 2024-11-28 1187/week @ 2024-12-05 1255/week @ 2024-12-12 808/week @ 2024-12-19 492/week @ 2024-12-26 946/week @ 2025-01-02 873/week @ 2025-01-09 1267/week @ 2025-01-16 1229/week @ 2025-01-23 619/week @ 2025-01-30 2455/week @ 2025-02-06

5,664 downloads per month
Used in 37 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


lib.rs:

Dependencies

~12–23MB
~323K SLoC