This question is quite related to this one, but I am looking for more details.
I am writing a very basic implementation to demonstrate how RSA works. My current implementation generates key pairs using 64-bit integers.
I am looking for the proper method to encrypt a string. I guess the bytes are packed together (32-bits) (smaller than the modulus value), then each packet is encrypted.
I would like to know if each packet is encrypted independently or if they are chained together.
res * a
inmodpow
. B) 512-bit RSA was unsafe 20 years ago. C) The RSA paper shows a method to directly encipher text, but since it is deterministic, it allows a guess to be verified, which is a disaster in many common cases (names of a guy on the class roll..). D) Text encryption using RSA should RSA-encipher a random symmetric key used to encipher the text. – fgrieu Dec 27 '19 at 23:56