Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 489 Bytes

md2.rst

File metadata and controls

21 lines (15 loc) · 489 Bytes

MD2

MD2 is specified in RFC1319 and it produces the 128 bit digest of a message. For example:

>>> from Crypto.Hash import MD2
>>>
>>> h = MD2.new()
>>> h.update(b'Hello')
>>> print h.hexdigest()

MD2 stand for Message Digest version 2, and it was invented by Rivest in 1989.

Warning

This algorithm is not considered secure. Do not use it for new designs.

Crypto.Hash.MD2