1- A program that is able to encrypt/decrypt text using the RSA algorithm.
2- Another program that tries to break RSA and get the correct private key.
3- Chat app using sockets, chat messages are encrypted.
normal.webm
chat.webm
break.webm
- PHP
- PHP web sockets
- GMP (for maths)
To get a local copy up and running follow these simple steps.
- install php
- install apache2 ( or any local serve )
- Clone the repo
git clone https://github.com/MUSTAFA-Hamzawy/RSA-Assignment
- navigate to the path in your localhost files example: localhost/crypto
- To try the chat mode:-
- Open a command prompt and run the server => php server.php
- Open another command prompt and run the client => php client.php
- Enter the public key of the client.
- Start chatting.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or
- Directly create a pull request after you edit the files with necessary changes.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
See LICENSE for more information.