A hyper-fast Python module for computing CRC(16, 32, 64) checksum
Project description
A hyper-fast Python module for computing CRC(16, 32, 64) checksum.
Installation
pip install fastcrc
Usage
from fastcrc import crc16, crc32, crc64
data = b"123456789"
print(f"crc16 checksum with xmodem algorithm: {crc16.xmodem(data)}")
print(f"crc32 checksum with aixm algorithm: {crc32.aixm(data)}")
print(f"crc64 checksum with ecma_182 algorithm: {crc64.ecma_182(data)}")
Documentation
fastcrc’s documentation can be found at https://fastcrc.readthedocs.io
License
fastcrc is licensed under MIT License.
Thanks
fastcrc is made possible by crc-rs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fastcrc-0.2.1.dev2.tar.gz
(17.1 kB
view hashes)
Built Distributions
Close
Hashes for fastcrc-0.2.1.dev2-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ced5d4c596076dfb533ac03ef793683436c74eea0740b1ac3e13b9dc8fee199 |
|
MD5 | 9a0dddd9047b512bf9a799168f8707be |
|
BLAKE2b-256 | 45ae80c5904a780e9d43f7748d62ed6a69d334b113ac616cb7ba339b133b5a27 |
Close
Hashes for fastcrc-0.2.1.dev2-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d32f036b37718376b2403e5cf62f69254dfdcaf15a4e941afdea7e7797741299 |
|
MD5 | c2bc45a5042dfb0004e555d3e7205ce9 |
|
BLAKE2b-256 | 04bfe7406611a5c6b3d29c4b80d772dba8a45c25d514f0eed9154f3d68ff0ced |
Close
Hashes for fastcrc-0.2.1.dev2-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a74421305c169dd9202fd0e4bc0abf9e19454238ee2b921476920093524b0f5c |
|
MD5 | d3e0f6f58d2f93c1090a868ce13c15f6 |
|
BLAKE2b-256 | 4eeb4c5ee61ec017505f9faf7f950ab42efbbc61ef15805ae5ec606c0ff25ae0 |