#encryption #openpgp #pgp

sett

Rust port of sett (data compression, encryption and transfer tool)

2 releases

0.2.2 Nov 23, 2022
0.2.1 Oct 3, 2022

#1938 in Cryptography

Download history 2/week @ 2024-02-15 18/week @ 2024-02-22 6/week @ 2024-02-29 46/week @ 2024-03-07 14/week @ 2024-03-14

85 downloads per month

LGPL-3.0-or-later

66KB
1.5K SLoC

sett

Rust (partial) port of sett.

Detailed documentation can be found at https://docs.rs/sett.

Usage

Add sett to dependencies in project's Cargo.toml.

[dependencies]
sett = "*"

By default, the library uses Nettle as cryptographic backend. However, on Windows targets, Cryptography API: Next Generation (CNG) can be selected at the compile time: disable default features (default-features = false) and enable the crypto-cng feature.

Example binaries

Run cargo run --example to list available examples. To run a specific example, execute e.g.

cargo run --release --example encrypt -- --help

For the Windows target we use the crypto-cng backend (instead of the default crypto-nettle). It can be used by enabling the crypto-cng and disabling the defaults.

cargo run --release --no-default-features --features=crypto-cng --example encrypt -- --help

lib.rs:

Rust port of sett (data compression, encryption and transfer tool).

Dependencies

~24–43MB
~701K SLoC