Optimal Asymmetric Encryption Padding: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
m Bot: Markup immagini, accessibilità |
m Funzionamente OAEP |
||
Riga 18:
Per cifrare:
# al messaggio ''m'' va applicato un [[padding]] di <math>k_1</math> zeri per arrivare ad una lunghezza di <math>n-k_0</math> bit.
# <math>r</math> è una stringa casualmente generata lunga <math>k_0</math> bit.
# <math>G</math> espande i <math>k_0</math> bit di <math>r</math> a <math>n-k_0</math> bit.
# <math>X = m00..0 \oplus G(r)</math>
# <math>H</math> riduce
# <math>Y = r \oplus H(X)</math>
# L'output è <math>X \| Y</math>, ovvero la concatenazione di <math>X</math> e <math>Y</math>.
|