Class SHA256Digest
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.crypto.GeneralDigest
-
- net.lax1dude.eaglercraft.v1_8.crypto.SHA256Digest
-
public class SHA256Digest extends GeneralDigest
-
-
Constructor Summary
Constructors Constructor Description SHA256Digest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
bigEndianToInt(byte[] bs, int off)
static void
bigEndianToInt(byte[] bs, int off, int[] ns)
int
doFinal(byte[] out, int outOff)
static byte[]
intToBigEndian(int n)
static void
intToBigEndian(int n, byte[] bs, int off)
protected void
processBlock()
protected void
processLength(long bitLength)
protected void
processWord(byte[] in, int inOff)
void
reset()
reset the chaining variables-
Methods inherited from class net.lax1dude.eaglercraft.v1_8.crypto.GeneralDigest
finish, update, update
-
-
-
-
Method Detail
-
bigEndianToInt
public static int bigEndianToInt(byte[] bs, int off)
-
bigEndianToInt
public static void bigEndianToInt(byte[] bs, int off, int[] ns)
-
intToBigEndian
public static byte[] intToBigEndian(int n)
-
intToBigEndian
public static void intToBigEndian(int n, byte[] bs, int off)
-
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- Overrides:
reset
in classGeneralDigest
-
processBlock
protected void processBlock()
- Specified by:
processBlock
in classGeneralDigest
-
-