RSA With Real Keys
Open a real RSA key file, see how big its numbers are, encrypt without padding and watch a small exponent give the message away, then add OAEP and sign with PKCS#1 v1.5 and PSS. Test keys only, 512 bits, far too small to use.
Keys and Textbook RSA
What a private key file holds, how its size is counted, raw RSA on a real key, and why a small public exponent gives a message away.
- Key Anatomy
what is inside an RSA private key file
- Modulus Size in Bits
counting the bits of a modulus written in hexadecimal
- Textbook RSA on a Real Key
raw RSA on numbers that do not fit a program
- A Small Exponent Is a Cube Root
raw RSA with e equal to 3 and a short message
Padding and Signatures
OAEP makes encryption random, PKCS#1 v1.5 signs a padded digest, PSS adds a salt, and the last page says what none of this shows.
- OAEP Adds Randomness
random padding for RSA encryption, and its size limit
- Sign the Digest
what an RSA signature covers and how it is checked
- PSS and the Salt
the probabilistic signature padding and its salt
- Honesty Boundary
what the RSA pages show, and what they leave out