Examples
RFC 1319 test message: a
Reproduce a published legacy MD2 interoperability vector. MD2 is obsolete; this is not a recommendation for protecting passwords or signatures.
Input
aExpected answer
32ec01ec4a6dac72c0ab96fb34c0b5d132ec01ec4a6dac72c0ab96fb34c0b5d1
- Rounds
18
RFC 1319 test message: abc
Reproduce a published legacy MD2 interoperability vector. MD2 is obsolete; this is not a recommendation for protecting passwords or signatures.
Input
abcExpected answer
da853b0d3f88d99b30283a69e6ded6bbda853b0d3f88d99b30283a69e6ded6bb
- Rounds
18
RFC 1319 test message: message digest
Reproduce a published legacy MD2 interoperability vector. MD2 is obsolete; this is not a recommendation for protecting passwords or signatures.
Input
message digestExpected answer
ab4f496bfb2a530b219ff33031fe06b0ab4f496bfb2a530b219ff33031fe06b0
- Rounds
18
RFC 1319 test message: abcdefghijklmnopqrstuvwxyz
Reproduce a published legacy MD2 interoperability vector. MD2 is obsolete; this is not a recommendation for protecting passwords or signatures.
Input
abcdefghijklmnopqrstuvwxyzExpected answer
4e8ddff3650292ab5a4108c3aa47940b4e8ddff3650292ab5a4108c3aa47940b
- Rounds
18
RFC 1319 test message: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
Reproduce a published legacy MD2 interoperability vector. MD2 is obsolete; this is not a recommendation for protecting passwords or signatures.
Input
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789Expected answer
da33def2a42df13975352846c30338cdda33def2a42df13975352846c30338cd
- Rounds
18
MD2
Input
Hello, World!Expected answer
1c8f1e6a94aaa7145210bf90bb52871a1c8f1e6a94aaa7145210bf90bb52871a
- Rounds
18
Although MD2 is no longer considered secure, even as of 2014, it remains in use in public key infrastructures as part of certificates generated with MD2 and RSA. The message digest algorithm consists, by default, of 18 rounds.
Format reference: MD2 background and specification