Top Fields Constructors Methods
org.bouncycastle.bcpg

public Class FastCRC24

extends CRC24
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final int[]
private static final int[]
private static final int[]
Inherited from org.bouncycastle.bcpg.CRC24:
crcCRC24_INITCRC24_POLY

Constructor Summary

AccessConstructor and Description
public
FastCRC24()

Fast CRC-24 implementation using a lookup table to handle multiple bits at a time.

Method Summary

Modifier and TypeMethod and Description
public void
public void
update3(byte[] buf, int off)

Overrides org.bouncycastle.bcpg.CRC24.update3.

Inherited from org.bouncycastle.bcpg.CRC24:
getValuereset

Field Detail

TABLE0back to summary
private static final int[] TABLE0
TABLE16back to summary
private static final int[] TABLE16
TABLE8back to summary
private static final int[] TABLE8

Constructor Detail

FastCRC24back to summary
public FastCRC24()

Fast CRC-24 implementation using a lookup table to handle multiple bits at a time.

Compare: Sarwate, Dilip V. "Computation of cyclic redundancy checks via table look-up."

Method Detail

updateback to summary
public void update(int b)

Overrides org.bouncycastle.bcpg.CRC24.update.

update3back to summary
public void update3(byte[] buf, int off)

Overrides org.bouncycastle.bcpg.CRC24.update3.