Crates.io | abcrypt-cli |
lib.rs | abcrypt-cli |
version | |
source | src |
created_at | 2023-08-25 06:42:00.513735+00 |
updated_at | 2025-01-09 04:41:28.058728+00 |
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 |
Cargo.toml error: | TOML parse error at line 24, column 1 | 24 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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:
abcrypt(1)
abcrypt-encrypt(1)
abcrypt-decrypt(1)
abcrypt-argon2(1)
abcrypt-information(1)
abcrypt-help(1)
The upstream repository is available at https://github.com/sorairolake/abcrypt.git.
The source code is also available at:
Please see CHANGELOG.adoc.
Please see CONTRIBUTING.adoc.
https://sorairolake.github.io/abcrypt/
Copyright (C) 2022 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.