2 releases
0.2.2 | Nov 23, 2022 |
---|---|
0.2.1 | Oct 3, 2022 |
#1774 in Cryptography
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
~21–37MB
~590K SLoC