MD2

MD2

Message-Digest Algorithm 2 (MD2) ist eine von Ronald L. Rivest im Jahr 1988 veröffentlichte Hash-Funktion. Der Algorithmus wurde für 8-Bit Rechner optimiert. Der Hashwert einer beliebigen Nachricht wird gebildet, indem zunächst die Nachricht auf ein Vielfaches der Blocklänge (128 Bit bzw. 16 Byte) gebracht und dann eine Prüfsumme von 16 Byte Länge angehängt wird. Für die eigentliche Berechnung werden ein Hilfsblock mit 48 Byte sowie eine 256 Byte lange Substitutionstabelle, die abhängig von der Zahl π permutiert wurde, verwendet. Die Substitutionstabelle bewirkt innerhalb des Algorithmus eine "zufällige" und nichtlineare Substitutionsoperation.

Nachdem alle Blöcke der (verlängerten) Nachricht bearbeitet worden sind, bildet der erste Teilblock des Hilfsblockes den Hashwert der Nachricht.

MD2-Hashes

Die 128 Bit langen MD2-Hashes (englisch auch "message-digests") werden normalerweise als 32-stellige Hexadezimalzahl notiert. Folgendes Beispiel zeigt eine 59 Byte lange ASCII-Eingabe und den zugehörigen MD2-Hash:

md2("Franz jagt im komplett verwahrlosten Taxi quer durch Bayern") =
8415570a6653a06314f09b023612a92d

Eine kleine Änderung der Nachricht erzeugt (mit sehr großer Wahrscheinlichkeit) einen komplett anderen Hash. Mit Frank statt Franz ergibt sich:

md2("Frank jagt im komplett verwahrlosten Taxi quer durch Bayern") =
b0e27e91b84246bc4c38bc3008f00374

Der Hash einer Zeichenkette der Länge Null ist:

md2("") = 8350e5a3e24c153df2275c9f80692773

Siehe auch

Weblinks


Wikimedia Foundation.

Игры ⚽ Поможем написать реферат

Schlagen Sie auch in anderen Wörterbüchern nach:

  • MD2 — MD2, pour Message Digest 2, est une fonction de hachage conçue par le professeur Ronald Rivest du Massachusetts Institute of Technology en 1989. C est un algorithme de signature. Plutôt destiné aux processeurs de type 8 bits, le MD2 n est plus… …   Wikipédia en Français

  • MD2 — can refer to: MD2 (cryptography) MD 2 (immunology) Maryland s 2nd congressional district Maryland Route 2 MD2 (file format) IMBEL MD2 Rifle This disambiguation page lists articles associated with the same title formed as a letter number… …   Wikipedia

  • MD2 — (acrónimo inglés de Message Digest Algorithm 2, Algoritmo de Resumen del Mensaje 2) es una función de hash criptográfica desarrollada por Ronald Rivest en 1989. El algoritmo está optimizado para computadoras de 8 bits. El valor hash de cualquier… …   Wikipedia Español

  • MD2 — (acrónimo inglés de Message Digest Algorithm 2, Algoritmo de Resumen del Mensaje 2) es una función de hash criptográfica desarrollada por Ronald Rivest en 1989. El algoritmo está optimizado para computadoras de 8 bits. El valor hash de cualquier… …   Enciclopedia Universal

  • MD2 — Криптографическая хеш функция Название MD2 Создан 1989 г. Опубликован апрель 1992 г. Размер хеша 128 бит Число раундов 18 Тип хеш функция MD2 (The MD2 Message Diges …   Википедия

  • MD2 (file format) — MD2 is a model format used by id s id Tech 2 engine as well as many other games that use this engine such as Half Life and sin. The format is used mostly for player models and static models in maps. Unlike modern formats, animations are not bone… …   Wikipedia

  • MD2 (cryptography) — Infobox cryptographic hash function name = MD2 caption = designers = Ronald Rivest publish date = April 1992 series = MD, MD2, MD3, MD4, MD5 derived from = derived to = related to = certification = digest size = 128 bits structure = rounds = 18… …   Wikipedia

  • MD2 — Message Digest algorithm 2 Chiffrierungsalgorithmus, definiert in RFC1319 …   Acronyms

  • MD2 — Message Digest algorithm 2 Chiffrierungsalgorithmus, definiert in RFC1319 …   Acronyms von A bis Z

  • MD2 — abbr. Message Digest (algorithm) 2 (RFC 1115/1319) …   United dictionary of abbreviations and acronyms

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”