sun.security.mule.krb5.internal.crypto
Class crc32
java.lang.Object
java.security.MessageDigestSpi
sun.security.mule.krb5.internal.crypto.crc32
- All Implemented Interfaces:
- Cloneable
public final class crc32
- extends MessageDigestSpi
- implements Cloneable
|
Constructor Summary |
crc32()
|
crc32
public crc32()
clone
public Object clone()
- Overrides:
clone in class MessageDigestSpi
engineGetDigestLength
protected int engineGetDigestLength()
- Return the digest length in bytes
- Overrides:
engineGetDigestLength in class MessageDigestSpi
engineDigest
protected byte[] engineDigest()
- Specified by:
engineDigest in class MessageDigestSpi
engineDigest
protected int engineDigest(byte[] buf,
int offset,
int len)
throws DigestException
- Overrides:
engineDigest in class MessageDigestSpi
- Throws:
DigestException
engineUpdate
protected void engineUpdate(byte b)
- Update adds the passed byte to the digested data.
- Specified by:
engineUpdate in class MessageDigestSpi
engineUpdate
protected void engineUpdate(byte[] input,
int offset,
int len)
- 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.
- Specified by:
engineUpdate in class MessageDigestSpi
engineReset
protected void engineReset()
- Specified by:
engineReset in class MessageDigestSpi
init
public void init()
- Initialize the CRC32 information
int2crc32
public static int int2crc32(int b)
printcrc32Table
public static void printcrc32Table()
byte2crc32sum
public static int byte2crc32sum(int seed,
byte[] data,
int size)
byte2crc32sum
public static int byte2crc32sum(int seed,
byte[] data)
byte2crc32sum
public static int byte2crc32sum(byte[] data)
byte2crc32
public static int byte2crc32(byte[] data)
byte2crc32sum_bytes
public static byte[] byte2crc32sum_bytes(byte[] data)
byte2crc32sum_bytes
public static byte[] byte2crc32sum_bytes(byte[] data,
int size)
int2quad
public static byte[] int2quad(long input)
Copyright © 2013. All Rights Reserved.