Crates.io | tor-hscrypto |
lib.rs | tor-hscrypto |
version | |
source | src |
created_at | 2023-02-01 17:02:55.322945 |
updated_at | 2025-01-07 17:22:01.83624 |
description | Basic onion service cryptography types used by Aerti |
homepage | https://gitlab.torproject.org/tpo/core/arti/-/wikis/home |
repository | https://gitlab.torproject.org/tpo/core/arti.git/ |
max_upload_size | |
id | 773954 |
Cargo.toml error: | TOML parse error at line 22, column 1 | 22 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
tor-hscrypto
: Basic cryptography used by onion services
This crate is part of Arti, a project to implement Tor in Rust.
Onion services and the clients that connect to them need a few cryptographic operations not used by the rest of Tor. These include:
.onion
addresses.This crate implements those operations, along with a set of wrapper types to keep us from getting confused about the numerous keys and nonces used for the onion services.
memquota-memcost
-- implement tor_memquota::HasMemoryCost
for many types.
(Does not actually force compiling in memory quota tracking;
that's memquota
in tor-memquota
and higher-level crates.)
ope
-- support for Order Preserving Encryption
full
-- Enable all features above.
Note that the APIs enabled by these features are NOT covered by semantic versioning1 guarantees: we might break them or remove them between patch versions.
hs-pow-full
-- Tor Hidden Services Proof of Work.
experimental
: Enable all the above experimental features.
MIT OR Apache-2.0
When the pow
feature is used, we link with LGPL licensed dependencies.
Remember, semantic versioning is what makes various cargo
features work reliably. To be explicit: if you want cargo update
to only make safe changes, then you cannot enable these
features. ↩