Skip to content

A C++ application that demonstrates how RSA encryption works, allowing the user to encrypt and decrypt their own messages.

License

Notifications You must be signed in to change notification settings

Gump0/RSA-Encryption-Algorithm-Demonstration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

RSA Encryption Demonstration ๐Ÿ”’

A simple C++ program written to demonstrate the beauty of the RSA encryption algorithm the internet relies so much on.

How to Install & Run

Simply clone this repository and compile the program, ensuring that both .cpp files are considered.

For this example, I use GNU/Linux's g++ compiler.

Simply run the program in your terminal of choice and enjoy!

git clone https://github.com/Gump0/RSA-Encryption-Algorithm-Demonstration.git

g++ main.cpp WriteData.cpp -o compile

./compile

Features

  • The ability for the user to input both p & q values
  • Encrypt any plain text message you wish! ๐Ÿ”‘
  • Conversion logic for both Text >> Ascii & Ascii >> Text
  • An open source codebase that you can look at for free!

Useful Resources

If you are interested in learning more about RSA encryption and how it works at a fundemental level, please checkout these recources!

Video Title Author Link
How RSA Encryption Works Mental Outlaw Video
The RSA Encryption Algorithm (1 of 2: Computing an Example) Eddie Woo Video
The RSA Encryption Algorithm (2 of 2: Computing an Example) Eddie Woo Video
RSA Encryption From Scratch - Math & Python Code NeuralNine Video
Prime Numbers & RSA Encryption Algorithm Computerphile Video

I do not have any association with the videos provided. These are resources I have used to study the topic.

About

A C++ application that demonstrates how RSA encryption works, allowing the user to encrypt and decrypt their own messages.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages