Documentation ¶
Overview ¶
Package crc24 implements the 24-bit cyclic redundancy check, or CRC-24, checksum. See http://en.wikipedia.org/wiki/Cyclic_redundancy_check for information.
Index ¶
Constants ¶
View Source
const Size = 3
The size of a CRC-24 checksum in bytes.
Variables ¶
This section is empty.
Functions ¶
func ChecksumOpenPGP ¶
ChecksumOpenPGP calculates the openPGP-24 as used by OpenPGP
func Update ¶
Update returns the result of adding the bytes in p to the openPGP. It is compatible with OpenPGP checksum as specified in RFC 4880, section 6.1 (https://tools.ietf.org/html/rfc4880#section-6.1).
Types ¶
Click to show internal directories.
Click to hide internal directories.