Skip to content

mtayler/pseudo-encrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pseudo-encrypt

An insecure imitation encryption program

Usage

Encrypt text from stdin using ./encrypt -e
Encrypted text is written to a file called output.vir.
e.g. echo -n "String to be encrypted" | ./encrypt -e

Decrypt text from stdin using ./encrypt
Decrypted text is written to a file called output.txt.
e.g. ./encrypt < output.vir

Encryption Keys

To use different encryption keys, change the entries in the file keys. The keys are ordered public_key, divisor, private_key: or e, n, d. If the decrypted file is not a plain text file, the keys are most likely too large, or too small to fully process the range of values defined in the ASCII standard.

A better key method to be added.

About

An INSECURE imitation encryption program – implemented for learning purposes not for usage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors