to get instant updates about 'MDC-2' on your MyPage. Meet other similar minded people. Its Free!


All Updates

In cryptography, MDC-2 (Modification Detection Code 2, sometimes called Meyer-Schilling) is a cryptographic hash function. MDC-2 is a hash function based on a block cipher with a proof of security in the ideal-cipher model. The length of the output hash depends on the underlying block cipher used.


For a given message <math>M</math> to hash and a given block cipher encryption function <math>E</math>, the MDC-2 algorithm proceed as followed. Let <math>n</math> be the block length, <math>A_1, B_1</math> two different constants of size <math>n</math>. If <math>M = M_1||..|M_m</math> where each <math>M_i</math> has size <math>n</math>, then the hash <math>V_m||W_m</math> of the message is given by:
  • for <math>i = 1</math> to <math>m</math>:
    • <math>V_i = M_i oplus E(M_i,A_i)</math>
    • <math>W_i = M_i oplus E(M_i,B_i)</math>
    • <math>V_i^L || V_i^R = V_i</math>
    • <math>W_i^L || W_i^R = W_i</math>
    • <math>A_ = V_i^R||W_i^L</math>
    • <math>B_ = W_i^R||V_i^L</math>
  • return <math>V_m||W_m</math>

MDC-2DES hashes

When MDC-2 uses the DES block cipher, the 128-bit (16-byte) MDC-2 hashes are typically represented as 32-digit hexadecimal numbers. The following demonstrates a 43-byte ASCII input and the corresponding MDC-2 hash:


Read More

No feeds found

Posting your question. Please wait!...

No updates available.
No messages found
Suggested Pages
Tell your friends >
about this page
 Create a new Page
for companies, colleges, celebrities or anything you like.Get updates on MyPage.
Create a new Page
 Find your friends
  Find friends on MyPage from