Package com.sun.mail.auth
Class MD4
java.lang.Object
com.sun.mail.auth.MD4
The MD4 class is used to compute an MD4 message digest over a given
buffer of bytes. It is an implementation of the RSA Data Security Inc
MD4 algorithim as described in internet RFC 1320.
- Author:
- Andreas Sterbenz, Bill Shannon (adapted for Jakarta Mail)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
digest
(byte[] in) Compute and return the message digest of the input byte array.
-
Constructor Details
-
MD4
public MD4()Standard constructor, creates a new MD4 instance.
-
-
Method Details
-
digest
public byte[] digest(byte[] in) Compute and return the message digest of the input byte array.- Parameters:
in
- the input byte array- Returns:
- the message digest byte array
-