Skip to content

A simple program that encrypts/decrypts given text.

Notifications You must be signed in to change notification settings

apstamp45/encrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Text Encrypter

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"

About

A simple program that encrypts/decrypts given text.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages