Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nils91/file-encryptor
file-encyptor is a small standalone tool that lets you encrypt/decrypt files using AES-256
https://github.com/nils91/file-encryptor
aes aes-256 cli encryption java
Last synced: 11 days ago
JSON representation
file-encyptor is a small standalone tool that lets you encrypt/decrypt files using AES-256
- Host: GitHub
- URL: https://github.com/nils91/file-encryptor
- Owner: nils91
- License: gpl-3.0
- Created: 2020-07-06T17:34:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-08T05:56:39.000Z (over 1 year ago)
- Last Synced: 2024-10-08T13:37:07.656Z (about 1 month ago)
- Topics: aes, aes-256, cli, encryption, java
- Language: Java
- Homepage:
- Size: 142 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# File Encryptor
file-encyptor is a small standalone tool that lets you encrypt/decrypt files using AES-256. The tool is used on the command line. An installed JRE/JDK is required.To build from source:\
`mvn clean install`\
The executable jar is called `file-encryptor-[VERSION]-shaded.jar` inside the `target`-folder.\
To run the tests:\
`mvn clean test`Minimal encryption example:\
`java -jar file-encryptor.jar -e -i path/to/input.file -w`\
Minimal decryption example:\
`java -jar file-encryptor.jar -d -i path/to/input.file.enc -k ````
Usage: file-encryptor
-d,--decrypt This flag sets the application to decryption mode
-e,--encrypt This flag sets the application to encryption mode
-h,--help Show usage instructions
-i,--in Input file
-k,--key Encrypt/Decrypt using a key. Must be encoded in
Base64 when read from console.
-o,--out Output file name. If this parameter is not given,
the output filename in encryption mode is just the
input filename + '.enc' or '.dec' in decryption
mode.
-r,--remove Remove the input file after the operation is
complete
-t,--verbose Switch on verbode mode
-v,--version Show version information
-w,--writekey Write the key to the console (or a file) once
operation is complete. The argument is optional. If
the argument is 'yes', the key will be written to
a filename generated from the output file name.
Alternativly a filepath can be provided.
```