This program was made to explore ways that data might be encrypted. To use it, you can build the code with this command:
gcc -o enc main.c
The usage is as follows:
./enc -d/e (-p [password] -i [input file] -o [output file]) [input]
To encrypt the string "A little piece of text." with the password "pswd", you can use the following command:
./enc -ep "pswd" "A little piece of text."
It produces this string:
&X8eA?uk;LTHPkd~{Y-aWqH
To decrypt it again, you can run this command:
./enc -dp "pswd" "&X8eA?uk;LTHPkd~{Y-aWqH"
-
Notifications
You must be signed in to change notification settings - Fork 0
apstamp45/encrypt
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A simple program that encrypts/decrypts given text.
Resources
Stars
Watchers
Forks
Packages 0
No packages published