A simple and easy to use file encryption program made using libsodium
nacrypt <input_file> -o <output_file> [-e|-d]## Encrypt
nacrypt plaintext.txt -o plaintext.txt.encrypted -e
## Decrypt
nacrypt plaintext.txt.encryted -o plaintext_decrypted.txt -dInstall libsodium and libseccomp
Debian / Ubuntu: sudo apt install -y libsodium-dev libseccomp-dev
To build, simply run the makefile with:
makeNacrypt applies a very strict seccomp filter to itself before processing the input file. (see nacrypt_security.h)
If this causes issues it can be disabled with the -DNO_SECCOMP CFLAG or allowed to fail with -DALLOW_SECCOMP_FAIL (on platforms without seccomp)
make && sudo make install