Package com.day.text
Class MD4
- java.lang.Object
-
- com.day.text.MD4
-
public class MD4 extends java.lang.Object
MD4 digest algorithm. Not contained in the standard message digest implementations. Used by theText.digest(java.lang.String, java.lang.String, java.lang.String)
methods.
-
-
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.
-
-
-
Method Detail
-
update
public void update(byte[] input, int off, int len)
Feed some more input.- Parameters:
input
- input blockoff
- offset inside input blocklen
- 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
-
-