15 breaking releases

Uses new Rust 2024

new 0.38.0 Jan 13, 2026
0.37.0 Dec 2, 2025
0.36.0 Oct 30, 2025
0.32.0 Jul 8, 2025
0.24.0 Oct 31, 2024

#2171 in Cryptography

Download history 2086/week @ 2025-09-23 2595/week @ 2025-09-30 2853/week @ 2025-10-07 2789/week @ 2025-10-14 2597/week @ 2025-10-21 3247/week @ 2025-10-28 2663/week @ 2025-11-04 2114/week @ 2025-11-11 2407/week @ 2025-11-18 2675/week @ 2025-11-25 3219/week @ 2025-12-02 1861/week @ 2025-12-09 1822/week @ 2025-12-16 1598/week @ 2025-12-23 1825/week @ 2025-12-30 2111/week @ 2026-01-06

7,722 downloads per month
Used in 62 crates (5 directly)

MIT/Apache

455KB
7K 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–47MB
~686K SLoC