public class CRC13239 extends Object
Utility methods for calculating and verifying the CRC13239 checksum used for YubiKeys.
Modifier and Type | Field and Description |
---|---|
static short |
CRC_OK_RESIDUAL
When verifying a checksum the CRC_OK_RESIDUAL should be the remainder
|
Modifier | Constructor and Description |
---|---|
private |
CRC13239() |
Modifier and Type | Method and Description |
---|---|
static short |
getCRC(byte[] buf,
int len)
Method for calculating a CRC13239 checksum over a byte buffer.
|
public static final short CRC_OK_RESIDUAL
When verifying a checksum the CRC_OK_RESIDUAL should be the remainder
Copyright © 2013 Yubico AB. All Rights Reserved.