Bouncy Castle Cryptography Library 1.81

org.bouncycastle.bcpg
Class FastCRC24

java.lang.Object
  extended byorg.bouncycastle.bcpg.CRC24
      extended byorg.bouncycastle.bcpg.FastCRC24

public class FastCRC24
extends CRC24


Field Summary
 
Fields inherited from class org.bouncycastle.bcpg.CRC24
crc, CRC24_INIT, CRC24_POLY
 
Constructor Summary
FastCRC24()
          Fast CRC-24 implementation using a lookup table to handle multiple bits at a time.
 
Method Summary
 void update(int b)
           
 void update3(byte[] buf, int off)
           
 
Methods inherited from class org.bouncycastle.bcpg.CRC24
getValue, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastCRC24

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

update

public void update(int b)
Overrides:
update in class CRC24

update3

public void update3(byte[] buf,
                    int off)
Overrides:
update3 in class CRC24

Bouncy Castle Cryptography Library 1.81