A file & directory encryptor written in Java. This cryptor uses AES256 and encrypts files by bytes, allowing for encryption of many different types of files. created by @hansoh0 (https://www.github.com/hansoh0)
[email protected]:~$ git clone https://github.com/hansoh0/CRYPTOR.git
# This comes precompiled but if you wanna do it yourself, go for it:
[email protected]:~$ javac -d bin/ src/*java
# Without the following alias definition you would have to run FileByteMan with 'java ~/src/FileByteMan {options}'
[email protected]:~$ echo "alias FileByteMan='java $HOME/bin/FileByteMan'" >> ~/.bashrc
[email protected]:~$ source ~/.bashrc
[email protected]:~$ FileByteMan --help
Usage: FileByteMan {encrypt/decrypt} {directory} {password/key} {salt}
[email protected]:~$ cat /target/directory/file.txt
Hello there
[email protected]:~$ FileByteMan encrypt /target/directory SecretKey1 salt
File Encrypted: file.txt
[email protected]:~$ cat /target/directory/file.txt
p�L��f�%����|�%Nt���n��26�8�v֑
[email protected]:~$ FileByteMan decrypt /target/directory SecretKey1 salt
File Decrypted: file.txt
[email protected]:~$ cat /target/directory/file.txt
Hello there
This took me too long as is, lots of improvements to be had... bug fixes and polishes inbound.
I AM NOT RESPONSIBLE FOR MISUSE