Crates.io | abcrypt-cli |
lib.rs | abcrypt-cli |
version | 0.3.3 |
source | src |
created_at | 2023-08-25 06:42:00.513735 |
updated_at | 2024-08-04 10:40:40.643302 |
description | An utility for encrypt and decrypt files |
homepage | https://sorairolake.github.io/abcrypt/ |
repository | https://github.com/sorairolake/abcrypt |
max_upload_size | |
id | 954389 |
size | 129,164 |
abcrypt (abcrypt-cli
) is a command-line utility for
encrypt and decrypt files using the abcrypt encrypted data format.
cargo install abcrypt-cli
If you want to enable optimizations such as LTO, set them using environment variables.
The release page contains pre-built binaries for Linux, macOS and Windows.
Please see BUILD.adoc.
Encrypt a file:
abcrypt encrypt data.txt > data.txt.abcrypt
Decrypt a file:
abcrypt decrypt data.txt.abcrypt > data.txt
Output as a human-readable string:
abcrypt information data.txt.abcrypt
Output:
Parameters used: memoryCost = 32; timeCost = 3; parallelism = 4;
Output as JSON:
abcrypt information -j data.txt.abcrypt | jq
Output:
{
"memoryCost": 32,
"timeCost": 3,
"parallelism": 4
}
--generate-completion
option generates shell completions to standard output.
The following shells are supported:
bash
elvish
fish
nushell
powershell
zsh
Example:
abcrypt --generate-completion bash > abcrypt.bash
Please see the following:
Please see CHANGELOG.adoc.
Please see CONTRIBUTING.adoc.
Copyright © 2022–2024 Shun Sakai (see AUTHORS.adoc)
This project is compliant with version 3.2 of the REUSE Specification. See copyright notices of individual files for more details on copyright and licensing information.