21 releases
Uses new Rust 2024
| 0.5.1 | Jul 28, 2025 |
|---|---|
| 0.4.0 | Jan 9, 2025 |
| 0.3.3 | Aug 4, 2024 |
| 0.3.2 | Apr 18, 2024 |
| 0.2.5 | Nov 29, 2023 |
#1564 in Command line utilities
1,284 downloads per month
120KB
2.5K
SLoC
abcrypt
abcrypt (abcrypt-cli) is a command-line utility for
encrypt and decrypt files using the abcrypt encrypted data format.

Installation
From source
cargo install abcrypt-cli
If you want to enable optimizations such as LTO, set them using environment variables.
From binaries
The release page contains pre-built binaries for Linux, macOS and Windows.
How to build
Please see BUILD.adoc.
Usage
Basic usage
Encrypt a file:
abcrypt encrypt data.txt > data.txt.abcrypt
Decrypt a file:
abcrypt decrypt data.txt.abcrypt > data.txt
Provides information about the encryption parameters
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 shell completion
completion subcommand generates shell completions to standard output.
The following shells are supported:
bashelvishfishnushellpowershellzsh
Example:
abcrypt completion bash > abcrypt.bash
Command-line options
Please see the following:
abcrypt(1)abcrypt-encrypt(1)abcrypt-decrypt(1)abcrypt-argon2(1)abcrypt-information(1)abcrypt-completion(1)
Source code
The upstream repository is available at https://github.com/sorairolake/abcrypt.git.
Changelog
Please see CHANGELOG.adoc.
Contributing
Please see CONTRIBUTING.adoc.
Home page
https://sorairolake.github.io/abcrypt/
License
Copyright (C) 2022 Shun Sakai (see AUTHORS.adoc)
- This program is distributed under the terms of the GNU General Public License v3.0 or later.
- Some files are distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
This project is compliant with version 3.3 of the REUSE Specification. See copyright notices of individual files for more details on copyright and licensing information.
Dependencies
~7–21MB
~276K SLoC