Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
PKCS 1
Dan
Boneh
RSA
encryp4on
in
prac4ce
Never
use
textbook
RSA.
ciphertext
msg
Preprocessing
RSA
key
Main
ques4ons:
– How
should
the
preprocessing
be
done?
– Can
we
argue
about
security
of
resul4ng
system?
Dan
Boneh
PKCS1
v1.5
PKCS1
mode
2:
(encryp4on)
16
bits
02
random
pad
FF
msg
Dan
Boneh
m
W(m,r)
r
+
H
How
would
you
decrypt
an
SAEP
ciphertext
ct
?
x
r
RSA
ciphertext
if ( pad(OAEP-1(RSA-1(ct))) != “01000” )
{ error = 1; goto exit; }
Dan Boneh