Java Glossary : MD5

CMP home Java glossary home Menu no menu Last updated 2004-06-28 by Roedy Green ©1996-2004 Canadian Mind Products

Java definitions: 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

You are here : home : Java Glossary : M words : MD5.

MD5
a message-digest algorithm developed by RSA Laboratories used for creating unforgeable digital signatures. MD5 produces an 128-bit (16 byte) message digest. Most existing software applications that handle certificates only support MD5. It is also used in signing Netscape jar files. Its advantage is rapid computation. Its disadvantage is cryptographic weakness. Longer digests such as SHA-1, SHA-256, and SHA-512 are used for Sun jar signing. You compute an MD5 digest using a MessageDigest object created like this:


view

Note that MD5 involves no private or public key. The algorithm for computing it is completely public. It represents a summary of an entire file or message. Only that summary needs to be digitally signed/encrypted, not the entire file.

The MD5 digests that you see in the manifest of a Netscape digitally signed jar file are base64 encoded.


CMP logo
CMP_home
home
Canadian Mind Products CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[24.87.56.253]
Your IP:[80.134.30.163]
You are visitor number 5708.
Please send errors, omissions and suggestions
to improve this page to Roedy Green.
You can get a fresh copy of this page from: or possibly from your local J: drive mirror:
http://mindprod.com/jgloss/md5.html J:\mindprod\jgloss\md5.html