Package org.bouncycastle.bcpg
Class CRC24
java.lang.Object
org.bouncycastle.bcpg.CRC24
- Direct Known Subclasses:
FastCRC24
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected static final int
protected static final int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CRC24_INIT
protected static final int CRC24_INIT- See Also:
-
CRC24_POLY
protected static final int CRC24_POLY- See Also:
-
crc
protected int crc
-
-
Constructor Details
-
CRC24
public CRC24()Default, iterative CRC-24 implementation as described in RFC4880. This implementation mimics the use of a feedback shift register in software.- See Also:
-
-
Method Details
-
update
public void update(int b) -
update3
public void update3(byte[] buf, int off) -
getValue
public int getValue() -
reset
public void reset()
-