Package com.day.text

Class MD4

    • Constructor Summary

      Constructors 
      Constructor Description
      MD4()
      Create a new instance of this class.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] digest​(byte[] input)
      Utility method that makes a single update and then finishes.
      byte[] finish()
      MD4 finalization.
      void update​(byte[] input, int off, int len)
      Feed some more input.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MD4

        public MD4()
        Create a new instance of this class.
    • Method Detail

      • update

        public void update​(byte[] input,
                           int off,
                           int len)
        Feed some more input.
        Parameters:
        input - input block
        off - offset inside input block
        len - number of valid bytes
      • finish

        public byte[] finish()
        MD4 finalization. Ends an MD4 message-digest operation, writing the message digest.
        Returns:
        message digest
      • digest

        public static byte[] digest​(byte[] input)
        Utility method that makes a single update and then finishes.
        Parameters:
        input - input
        Returns:
        digest digest