Class FastCRC24

java.lang.Object
org.bouncycastle.bcpg.CRC24
org.bouncycastle.bcpg.FastCRC24

public class FastCRC24 extends CRC24
  • Constructor Details

    • 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 Details

    • update

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

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