This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
pgpfan:mdc [2022/05/28 20:14] b.walzer Typo |
pgpfan:mdc [2022/05/28 20:54] (current) b.walzer [A Less Intuitive, More Technical Explanation] Awkward phrasing |
||
---|---|---|---|
Line 60: | Line 60: | ||
=====A Less Intuitive, More Technical Explanation===== | =====A Less Intuitive, More Technical Explanation===== | ||
- | OCFB-MDC is a case of hash then encrypt. The cipher block mode used is the modified version of cipher feedback used by OpenPGP (OCFB). The modification is | + | OCFB-MDC is a case of hash then encrypt. The cipher block mode is the modified version of cipher feedback used by OpenPGP (OCFB). The modification is |
the addition of a prefix block consisting of random data. The traditional CFB initialization vector (IV) is replaced by the encryption of a block of zeros. | the addition of a prefix block consisting of random data. The traditional CFB initialization vector (IV) is replaced by the encryption of a block of zeros. | ||
This serves to prevent an attacker from being able to get access to either the IV or the plaintext value of the random data prefix block. | This serves to prevent an attacker from being able to get access to either the IV or the plaintext value of the random data prefix block. |