Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakubvojvoda/rsa-cryptography
Simple RSA implementation using GMP
https://github.com/jakubvojvoda/rsa-cryptography
cpp cryptography decryption encryption gmp rsa
Last synced: 11 days ago
JSON representation
Simple RSA implementation using GMP
- Host: GitHub
- URL: https://github.com/jakubvojvoda/rsa-cryptography
- Owner: JakubVojvoda
- License: mit
- Created: 2016-05-04T19:14:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-21T19:11:15.000Z (almost 8 years ago)
- Last Synced: 2023-03-04T23:43:05.096Z (over 1 year ago)
- Topics: cpp, cryptography, decryption, encryption, gmp, rsa
- Language: C++
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RSA implementation using GMP
Simple RSA key generation, text encryption and ciphertext decryption.## usage
- key generation:
- input: ./rsa -g B
output: P Q N E D - text encryption:
- input: ./rsa -e E N M
output: C - ciphertext decryption:
- input: ./rsa -d D N C
output: M
B ... size of public modulus in bits
P ... randomly generated prime number
Q ... randomly generated prime number
N ... public modulus
E ... public exponent
D ... private exponent
M ... plaintext message (number, not text)
C ... ciphertext message (number, not text)