Fcrypt is a CLI tool that aims to simplify the encryption of files. It uses the AES algorithm to encrypt and decrypt files and Spring Shell to provide a CLI interface.
enc [filePath]
: Encrypt a filedec [filePath]
: Decrypt a file
mvn clean package
java -jar target/fcrypt-1.0.0.jar
Docker:
docker build -t fcrypt .
or
docker pull anthorld/fcrypt
and then run the container to access directly the CLI:
docker run -it -v /path/to/your/files:/files fcrypt
- The encryption key is stored in the
secret.key
file in the root directory of the project. - The encryption key is generated randomly and is 256 bits long.
- The encryption key is not stored in the Docker image, so it will be generated each time the container is started.