| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static int[] | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static byte[] | |
| public static byte[] | |
| public Object | clone()
Overrides java. Returns a clone if the implementation is cloneable. |
| protected byte[] | engineDigest()
Implements abstract java. Completes the hash computation by performing final operations such as padding. |
| protected int | engineDigest(byte[] buf, int offset, int len)
Overrides java. Completes the hash computation by performing final operations such as padding. |
| protected int | engineGetDigestLength()
Overrides java. Return the digest length in bytes |
| protected void | engineReset()
Implements abstract java. Resets the digest for further use. |
| protected synchronized void | engineUpdate(byte b)
Implements abstract java. Update adds the passed byte to the digested data. |
| protected synchronized void | engineUpdate(byte[] input, int offset, int len)
Implements abstract java. Update adds the selected part of an array of bytes to the digest. |
| public void | |
| public static int | |
| public static byte[] | |
| public static void | |
| private void |
| CRC32_LENGTH | back to summary |
|---|---|
| private static final int CRC32_LENGTH | |
| crc32Table | back to summary |
|---|---|
| private static int[] crc32Table | |
| seed | back to summary |
|---|---|
| private int seed | |
| crc32 | back to summary |
|---|---|
| public crc32() | |
| byte2crc32 | back to summary |
|---|---|
| public static int byte2crc32(byte[] data) | |
| byte2crc32sum | back to summary |
|---|---|
| public static int byte2crc32sum(int seed, byte[] data, int size) | |
| byte2crc32sum | back to summary |
|---|---|
| public static int byte2crc32sum(int seed, byte[] data) | |
| byte2crc32sum | back to summary |
|---|---|
| public static int byte2crc32sum(byte[] data) | |
| byte2crc32sum_bytes | back to summary |
|---|---|
| public static byte[] byte2crc32sum_bytes(byte[] data) | |
| byte2crc32sum_bytes | back to summary |
|---|---|
| public static byte[] byte2crc32sum_bytes(byte[] data, int size) | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Doc from java. Returns a clone if the implementation is cloneable. | |
| engineDigest | back to summary |
|---|---|
| protected byte[] engineDigest() Implements abstract java. Doc from java. Completes the hash computation by performing final
operations such as padding. Once | |
| engineDigest | back to summary |
|---|---|
| protected int engineDigest(byte[] buf, int offset, int len) throws DigestException Overrides java. Doc from java. Completes the hash computation by performing final
operations such as padding. Once
| |
| engineGetDigestLength | back to summary |
|---|---|
| protected int engineGetDigestLength() Overrides java. Return the digest length in bytes | |
| engineReset | back to summary |
|---|---|
| protected void engineReset() Implements abstract java. Doc from java. Resets the digest for further use. | |
| engineUpdate | back to summary |
|---|---|
| protected synchronized void engineUpdate(byte b) Implements abstract java. Update adds the passed byte to the digested data. | |
| engineUpdate | back to summary |
|---|---|
| protected synchronized void engineUpdate(byte[] input, int offset, int len) Implements abstract java. Update adds the selected part of an array of bytes to the digest. This version is more efficient than the byte-at-a-time version; it avoids data copies and reduces per-byte call overhead. | |
| init | back to summary |
|---|---|
| public void init() Initialize the CRC32 information | |
| int2crc32 | back to summary |
|---|---|
| public static int int2crc32(int b) | |
| int2quad | back to summary |
|---|---|
| public static byte[] int2quad(long input) | |
| printcrc32Table | back to summary |
|---|---|
| public static void printcrc32Table() | |
| processData | back to summary |
|---|---|
| private void processData(byte[] data, int off, int len) | |