Documentation

Work with MICrypt files in the browser and terminal.

Encrypt and decrypt

On Encrypt, choose a file, enter and confirm a passphrase, and save the .mic download. On Decrypt, choose the .mic file and enter the original passphrase. The download appears after verification.

Passphrases are encoded as UTF-8 with whitespace and normalization preserved. The browser accepts files up to 64 MiB of plaintext. The Linux CLI can stream larger files.

v2 file layout

The 51-byte header holds the format signature, exact algorithm profile, 16-byte salt and 12-byte nonce. The ciphertext follows, then the 16-byte GCM tag. GCM authenticates the whole header. File names are not stored in the format.

[51-byte header] [ciphertext] [16-byte tag]

Linux interoperability

./src/ccrypt -e < report.txt > report.txt.mic
./src/ccrypt -d < report.txt.mic > restored.txt
./src/ccrypt --legacy -c archive.cpt > restored-legacy.txt

Use new output paths. Shell redirection can overwrite an existing destination before the CLI runs.