Skip to content

CC5327/lab1-p1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab1-P1

(This repository makes sense in CC5312 - Computer Security course)

Behold! The best RSA key generation algorithm of the world!

This is an example of how to use my excellent key generation function.

How to use

pip install -r requirements.txt
python main.py

The previous command will create three files:

  • plaintext.txt: A random latin-like sentence (thanks to lorem library)
  • ciphered.txt: The previous latin-like sentence, ciphered with a random Public RSA key.
  • deciphered.txt: The previous ciphered text, deciphered with the correspondent Private RSA Key (This is to show you that my keys work!)
  • public_key.pem: Public Key that encrypted the message.

Given the private key is lost, I guarantee that you will never be able to decipher the ciphered text!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages