MADE WITH
Create a secret message 🤫
Decrypt your secret message 🕵️
A simple C++ program written to demonstrate the beauty of
the RSA encryption algorithm the internet relies so much on,
allowing users to encrypt and decrypt messages
as depicted in the images above.
I wanted to demonstrate the functionality of RSA encryption
in action. The program assumes the user understands the
meaning of the variables involved. Such as
n, PHI(n), e and d. Where the user has the power to
input any two prime values they want, (p and q
values).
The program then allows the user to input a
secret message, which then under the hood. Each
character will be converted into an ASCII value, then
encrypted using c^e mod n. While not the conventional
method used in modern encryption software, I find that
representing data as what essentially is scrambled ASCII
data. Is a lot easier to interpret for a beginner or someone
who is unfamiliar with computer jargon, rather than using
hexadecimal or other data storing formats.