class Crc32Checksum extends java.lang.Object implements ChecksumEngine
| Constructor and Description |
|---|
Crc32Checksum() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
calculateChecksum(byte[] data,
byte[] key,
KeyUsage usage)
Calculate a checksum given raw bytes and an (optional) key.
|
ChecksumType |
checksumType()
Returns the checksum type of this checksum engine.
|
private byte[] |
int2octet(int value) |
public ChecksumType checksumType()
ChecksumEnginechecksumType in interface ChecksumEnginepublic byte[] calculateChecksum(byte[] data,
byte[] key,
KeyUsage usage)
ChecksumEnginecalculateChecksum in interface ChecksumEngineprivate byte[] int2octet(int value)