4 releases (breaking)

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

#2114 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 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 1084/week @ 2025-01-05

3,433 downloads per month
Used in 28 crates (4 directly)

MIT/Apache

285KB
4K 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
~330K SLoC