LinuxCommandLibrary

bcrypt

Encrypt and decrypt files using Blowfish

TLDR

Encrypt file

$ bcrypt [file.txt]
copy
Decrypt file
$ bcrypt [file.txt.bfe]
copy
Remove original after encryption
$ bcrypt -r [file.txt]
copy

SYNOPSIS

bcrypt [options] file...

DESCRIPTION

bcrypt is a file encryption utility using the Blowfish cipher. It encrypts files in place with a password, creating .bfe (Blowfish Encrypted) files.
The tool provides simple command-line encryption for individual files.

PARAMETERS

-r

Remove original file after encryption
-c
Compress before encryption

WORKFLOW

$ # Encrypt (creates file.txt.bfe)
bcrypt file.txt

# Decrypt (restores file.txt)
bcrypt file.txt.bfe

# Encrypt and remove original
bcrypt -r file.txt
copy

CAVEATS

Older tool with limited maintenance. Password stored in memory during operation. Consider using gpg or age for modern encryption needs. Blowfish superseded by AES in many applications. Files encrypted in place.

HISTORY

bcrypt was created as a simple file encryption tool using the Blowfish cipher, developed by Bruce Schneier in 1993.

SEE ALSO

gpg(1), openssl(1), age(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community