https://github.com/karpeleslab/crc32itu
ITU I.363.5 CRC32
https://github.com/karpeleslab/crc32itu
Last synced: 11 months ago
JSON representation
ITU I.363.5 CRC32
- Host: GitHub
- URL: https://github.com/karpeleslab/crc32itu
- Owner: KarpelesLab
- License: bsd-3-clause
- Created: 2022-05-26T21:50:21.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-26T22:03:11.000Z (about 4 years ago)
- Last Synced: 2025-07-01T00:09:08.197Z (12 months ago)
- Language: Go
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://godoc.org/github.com/KarpelesLab/crc32itu)
# crc32 ITU
ITU I.363.5 algorithm (a.k.a. AAL5 CRC) was popularised by BZIP2 but also used in ATM transmissions.
This is not implemented in golang's `hash/crc32` package, but can be found hidden in `compress/bzip2` and is the equivalent of PHP's `hash('crc32', ...)`.
the algorithm is the same as that in POSIX 1003.2-1992 in Cksum but that stuffs the size into the CRC at the end for extra measure.