Class cryptix.pgp.CRC
All Packages Class Hierarchy This Package Previous Next Index
Class cryptix.pgp.CRC
java.lang.Object
|
+----cryptix.pgp.CRC
- public final class CRC
- extends Object
This class performs the CRC check as required by pgp base64 Encoded packets.
Copyright © 1995, 1996, 1997
Systemics Ltd
on behalf of the
Cryptix Development Team.
All rights reserved.
-
ACCUM_INIT
-
-
CRC()
-
-
add(byte[])
- This adds the contents of the buffer to the CRC.
-
checksum(byte[])
-
-
checksum(int, byte[])
-
-
crc()
- This adds the contents of the buffer to the CRC.
ACCUM_INIT
public final static int ACCUM_INIT
CRC
public CRC()
checksum
public static int checksum(byte buf[])
checksum
public static int checksum(int accum,
byte buf[])
add
public final void add(byte buf[])
- This adds the contents of the buffer to the CRC.
- Parameters:
- buf - the buffer to add.
crc
public final int crc()
- This adds the contents of the buffer to the CRC.
- Returns:
- the CRC value so far.
All Packages Class Hierarchy This Package Previous Next Index