Opened 8 years ago

Last modified 5 years ago

#11565 needs_work enhancement

RSA Cryptosystem — at Initial Version

Reported by: ajeeshr Owned by: tbd
Priority: major Milestone: sage-6.6
Component: cryptography Keywords: RSA, crypto, public key encryption
Cc: nguyenminh2@… Merged in:
Authors: ajeesh r Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

The Rivest-Shamir-Adleman (RSA) scheme has since that time reigned supreme as the most widely accepted and implemented general-purpose approach to public-key encryption. Generate a pair of public/private keys. Use the public key to encrypt a plaintext. Then decrypt the resulting ciphertext using the private key. Finally, compare the decrypted message with the original plaintext. This is based on the thesis by Minh Van Nguyen about number theory and RSA encryption algorithm. i didnt know how secure it was, so I would like to share this contribution with all of you.

Change History (1)

Changed 8 years ago by ajeeshr

This is the python code I implemented in python. Just copy this into the public_key folder in crypto, import the class in this code into all.py in the public_key and re-build sage and run it in a worksheet, its simple!!!

Note: See TracTickets for help on using tickets.