6 releases (breaking)

new 0.28.0 Mar 3, 2025
0.27.0 Feb 7, 2025
0.26.0 Jan 7, 2025
0.25.0 Dec 2, 2024
0.23.0 Sep 30, 2024

#2179 in Cryptography

Download history 990/week @ 2024-11-17 1055/week @ 2024-11-24 913/week @ 2024-12-01 1387/week @ 2024-12-08 1153/week @ 2024-12-15 516/week @ 2024-12-22 465/week @ 2024-12-29 1183/week @ 2025-01-05 1050/week @ 2025-01-12 1047/week @ 2025-01-19 1117/week @ 2025-01-26 1580/week @ 2025-02-02 1791/week @ 2025-02-09 790/week @ 2025-02-16 542/week @ 2025-02-23 778/week @ 2025-03-02

4,643 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


lib.rs:

Dependencies

~13–24MB
~362K SLoC