Class MD5Digest
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.crypto.GeneralDigest
-
- net.lax1dude.eaglercraft.v1_8.crypto.MD5Digest
-
public class MD5Digest extends GeneralDigest
implementation of MD5 as outlined in "Handbook of Applied Cryptography", pages 346 - 347.
-
-
Constructor Summary
Constructors Constructor Description MD5Digest()
Standard constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doFinal(byte[] out, int outOff)
java.lang.String
getAlgorithmName()
int
getDigestSize()
protected void
processBlock()
protected void
processLength(long bitLength)
protected void
processWord(byte[] in, int inOff)
void
reset()
reset the chaining variables to the IV values.-
Methods inherited from class net.lax1dude.eaglercraft.v1_8.crypto.GeneralDigest
finish, update, update
-
-
-
-
Method Detail
-
getAlgorithmName
public java.lang.String getAlgorithmName()
-
getDigestSize
public int getDigestSize()
-
processWord
protected void processWord(byte[] in, int inOff)
- Specified by:
processWord
in classGeneralDigest
-
processLength
protected void processLength(long bitLength)
- Specified by:
processLength
in classGeneralDigest
-
doFinal
public int doFinal(byte[] out, int outOff)
-
reset
public void reset()
reset the chaining variables to the IV values.- Overrides:
reset
in classGeneralDigest
-
processBlock
protected void processBlock()
- Specified by:
processBlock
in classGeneralDigest
-
-