Questions tagged [md2]

RFC 1319 — The MD2 Message-Digest Algorithm is a cryptographic hash function which is no longer considered secure.

RFC 1319 — The MD2 Message-Digest Algorithm is a cryptographic hash function which is no longer considered secure. It was developed by Ronald Rivest in 1989 with an algorithm which was optimized for 8-bit computers.

3 questions
41
votes
3 answers

How is the MD2 hash function S-table constructed from Pi?

For fun, I'm learning more about cryptography and hashing. I'm implementing the MD2 hash function following RFC 1319 (https://www.rfc-editor.org/rfc/rfc1319). I'll preface by saying I know there are libraries, I know this is an old hash, and I do…
Keith
  • 513
  • 4
  • 6
7
votes
1 answer

Why did MD4 replace MD2?

MD2 was a hash function based on swapping bytes in a state array permutation, much like the RC4 stream cipher, whereas MD4 was a novel construction. MD4 replaced MD2 despite the fact that MD4 is more badly broken. Even MD5, an improvement upon MD4,…
forest
  • 15,626
  • 2
  • 49
  • 103
1
vote
1 answer

Is text description of MD2 algorithm wrong?

I'm trying to implement MD2 from scratch of RFC 1319. It feels like there is a gap between steps 3.2 & 3.3. After step 2, the checksum C is appended to the message and never mentioned again. We start 18 rounds of XOR-ing for each block using MD…
Aio
  • 11
  • 1