Cript is an easy-to-use and versatile encryption/decryption and encoding/decoding tool, currently in development, written in Java.
To use the program, you must compile it first using javac
.
javac Cript.java
The usage is simple.
java Cript <Method> <Process> <Source> <Content>
-
Method: there are currently 2 methods available,
binary
andbase64
. -
Process: there are currently 2 methods that support both encoding (
encode
) and decoding (decode
), binary and base64. -
Source: choose whether you want to use a .txt file (using
file
), or type in your text directly (usingtext
). -
Content: if you selected to use a file, you can choose which file you would like to use. But, if you selected text, you can type your message here directly, with quotation marks.
java Cript base64 encode file myFile.txt
will produce a new .txt file, with the Base64 encoding of myFile.txt's content, with the output of:
The encoded text was saved in /home/user/myFileBase64Encoded.txt
java Cript binary encode text "Hello World"
will have an output of:
The encoded text: 01001000 01100101 01101100 01101100 01101111 00100000 01010111 01101111 01110010 01101100 01100100