3 releases (breaking)

0.25.0 Dec 2, 2024
0.24.0 Oct 31, 2024
0.23.0 Sep 30, 2024

#2135 in Cryptography

Download history 411/week @ 2024-09-29 287/week @ 2024-10-06 164/week @ 2024-10-13 384/week @ 2024-10-20 452/week @ 2024-10-27 778/week @ 2024-11-03 537/week @ 2024-11-10 990/week @ 2024-11-17 1055/week @ 2024-11-24 1028/week @ 2024-12-01 1377/week @ 2024-12-08

4,621 downloads per month
Used in 16 crates (3 directly)

MIT/Apache and maybe LGPL-3.0-only

430KB
6.5K 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–22MB
~323K SLoC