Tool for encrypting and decrypting entire directories on-the-fly.
Go to file
Andrew Lalis c2e86bd374 Cleaned up, added release script. 2023-03-22 08:04:21 +01:00
source Cleaned up, added release script. 2023-03-22 08:04:21 +01:00
test-dir Added reset.sh, cleaned up readme and CLI. 2023-03-21 14:30:09 +01:00
test-dir-tpl Added reset.sh, cleaned up readme and CLI. 2023-03-21 14:30:09 +01:00
.gitignore Added starter implementation. 2023-03-20 23:59:09 +01:00
LICENSE Initial commit 2023-03-20 21:05:36 +01:00
README.md Cleaned up, added release script. 2023-03-22 08:04:21 +01:00
build-release.sh Cleaned up, added release script. 2023-03-22 08:04:21 +01:00
dub.json Added starter implementation. 2023-03-20 23:59:09 +01:00
dub.selections.json Added starter implementation. 2023-03-20 23:59:09 +01:00
reset.sh Added reset.sh, cleaned up readme and CLI. 2023-03-21 14:30:09 +01:00

README.md

scrambler

A tool for encrypting and decrypting entire directories on-the-fly.

scrambler uses a block cipher and passphrase to encrypt and decrypt files in-place, as a means for quickly securing content without having to move things and/or create archives. scrambler appends a .enc extension to encrypted files, so it can use context clues to determine whether you want to perform encryption or decryption.

As of writing, this application uses an AES-256 block cipher, with a passphrase that's hashed by SHA-256.

Usage

# Show help information.
scrambler -h
scrambler --help

# Encrypt or decrypt the current directory.
scrambler

# Encrypt or decrypt a specified directory.
scrambler my-dir

# Encrypt or decrypt a single file.
scrambler path/to/my/file.txt

# Encrypt or decrypt a directory recursively.
scrambler my-dir -r

# Add -v for verbose output.
scrambler myfile.txt -v

# Explicitly choose to encrypt with -e.
scrambler my-dir -e

# Explicitly choose to decrypt with -d.
scrambler my-encrypted-dir -d

# Supply a passphrase from a file.
scrambler my-dir -p my-passphrase.txt

Download

You can download a compatible release from the releases page. If you can't find any release that's available for your system, you can build it yourself:

git clone git@github.com:andrewlalis/scrambler.git
cd scrambler
dub build --build=release