Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 892 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 892 Bytes

FCrypt

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.

List of commands

  • enc [filePath] : Encrypt a file
  • dec [filePath] : Decrypt a file

Installation

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 

Warnings

  • 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.