hesham-rsa/TODO
HeshamTB 611a6c45ea
Added Miller Rabin's algorithm:
- Now can generate a 4096-bit key in seconds.
	However, a longer key makes the cipher way too
	long. Should make a padding or an encoding to
	reduce the cipher size with big keys.

Signed-off-by: HeshamTB <hishaminv@gmail.com>
2020-04-18 22:49:06 +03:00

14 lines
625 B
Plaintext

Add scrambling of padding to encrypted messages.
https://www.inf.pucrs.br/~calazans/graduate/TPVLSI_I/RSA-oaep_spec.pdf
Add use SHA-1 to provide public key finger print (hashing function).
Support reading file for encryption, decryption and maybe signing.
resources:
https://crypto.stackexchange.com/questions/1448/definition-of-textbook-rsa
https://crypto.stackexchange.com/questions/3608/why-is-padding-used-for-rsa-encryption-given-that-it-is-not-a-block-cipher
https://www.inf.pucrs.br/~calazans/graduate/TPVLSI_I/RSA-oaep_spec.pdf
https://stackoverflow.com/questions/17298130/working-with-large-primes-in-python