3 stable releases
2.0.1 | Nov 29, 2023 |
---|---|
2.0.0 | Mar 21, 2022 |
1.0.0 | Mar 20, 2022 |
#1567 in Cryptography
26KB
451 lines
wcb
WebCrypto compatible encryption CLI in Rust.
This CLI handles the Webcryptobox encryption API.
Compatible packages:
See Webcryptobox Rust for the library.
Installation
cargo install wcb
Usage
wcb prints out usage information if you do not provide any command, or via --help
.
$ wcb
wcb
Webcryptobox - WebCrypto compatible cryptography CLI
USAGE:
wcb <SUBCOMMAND>
OPTIONS:
-h, --help Print help information
SUBCOMMANDS:
decrypt Decrypt message
decrypt-from Decrypt message with key pair
decrypt-private-key Decrypt private key pem
decrypt-private-key-from Decrypt private key pem with key pair
derive-key Derive shared AES key
derive-password Derive password
encrypt Encrypt message
encrypt-private-key Encrypt private key pem
encrypt-private-key-to Encrypt private key pem with key pair
encrypt-to Encrypt message with key pair
fingerprint Calculate EC key fingerprint
help Print this message or the help of the given subcommand(s)
key Generate AES key
private-key Generate EC key
public-key Get public key form private key
License
This package is licensed under the Apache 2.0 License.
© 2022 Johannes J. Schmidt
Dependencies
~5MB
~106K SLoC