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

--generate-completion option generates shell completions to stdout.

The following shells are supported
  • bash

  • elvish

  • fish

  • nushell

  • powershell

  • zsh

Example
abcrypt --generate-completion bash > abcrypt.bash