IT lexicon › Security › MDC-2

MDC-2

Security På svenska → Updated: 2026-10-14

IBM's 1988 hash function that runs two DES encryptions side by side to produce a digest twice as wide as the cipher's block.

A hash built on Davies–Meyer or Matyas–Meyer–Oseas is only as wide as its block cipher, and with DES's 64 bits that means collisions after roughly 232 attempts — which is to say, none worth mentioning. Carl Meyer and Michael Schilling at IBM got around it by running two Matyas–Meyer–Oseas steps in parallel and swapping halves of their outputs after every block, yielding 128 bits.

The cost is two DES encryptions per 64-bit block; its sibling MDC-4 needs four. It was standardised in ISO/IEC 10118-2 and lingered in OpenSSL for years behind a build flag because of its patent. Later analysis found preimage attacks well below what a 128-bit hash should offer, and today it is mostly a historical curiosity.

← Back to the lexicon