Class MD4


  • public final class MD4
    extends Object
    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 Detail

      • MD4

        public MD4()
        Standard constructor, creates a new MD4 instance.
    • Method Detail

      • 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