#encryption #openpgp


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

2 releases

Uses new Rust 2021

0.2.2 Nov 23, 2022
0.2.1 Oct 3, 2022

#921 in Cryptography

29 downloads per month


1.5K SLoC


Rust (partial) port of sett.

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


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

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


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


~560K SLoC