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)}")
print(f"crc16 checksum with xmodem algorithm (with initial data): {crc16.xmodem(b'56789', crc16.xmodem(b'1234'))}")
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.dev8.tar.gz
(17.5 kB
view hashes)
Built Distributions
Close
Hashes for fastcrc-0.2.1.dev8-cp36-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 568c93a902a797556da1d6f58e8cb40b437d0dc877451bed277af4f59b7b56a7 |
|
MD5 | b758967c77aa2a1f4fe37048cb375925 |
|
BLAKE2b-256 | ef851e0cf42a480562c4e24cf43358c24998c989b46773fe410be4debd742fab |
Close
Hashes for fastcrc-0.2.1.dev8-cp36-abi3-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a7a54bac25cc40f3c8a066f45a58c3e1836a96210ffa3dda6944c8c78236ded |
|
MD5 | 7aada9ad0755fcbd5a333dfcc8b67260 |
|
BLAKE2b-256 | 989ac374b69ac9e5c23500bedc5878de157f74e7576844a105b25dc7ca90181b |
Close
Hashes for fastcrc-0.2.1.dev8-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d58aa1754f3cd8a67fab000a807b14add71c9ae5231031eecb649cfdcc76c5d |
|
MD5 | 6deb67fe455b08403105e602a23996c0 |
|
BLAKE2b-256 | 3c188c7bade0521e8f25f017fbbed51ad73fbb6a705c8d8f12ac348bfd73d2ce |
Close
Hashes for fastcrc-0.2.1.dev8-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b645517148c7e020a797da65f753577e0569e6f60423283badf763dcd0192a6a |
|
MD5 | 7be8d552e3250503a097353097aadbaa |
|
BLAKE2b-256 | c99c58b994ba73be2a6f59fb050d110091820fd2099417cde43c9387714f1978 |
Close
Hashes for fastcrc-0.2.1.dev8-cp36-abi3-manylinux_2_24_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36c124bccb5c0d7352b5b68b3086b10a7779fab1b4afe3c6bc1028f809ef7842 |
|
MD5 | 8eff834bced2bddcf0a925e525b61845 |
|
BLAKE2b-256 | 3c89504a2c012e2344797d935c4580ba4ea88e182c6475e81acf78eddbc4017f |
Close
Hashes for fastcrc-0.2.1.dev8-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0685b3309fca6e5e1a7bc81b400b3f491cc13f7e8f6403569ceb05a30710d73 |
|
MD5 | 215096db17f71923a2f9d869d83c6983 |
|
BLAKE2b-256 | 96fbe8726dcf364e7bf9b75d7c2ea4d1d687b8143e09da9729f2a56709e19d36 |
Close
Hashes for fastcrc-0.2.1.dev8-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f038e88c371013ca4d4cc39f49ece1a87ba5d7e54253c89f716431625a11c351 |
|
MD5 | 9b101aae7373d649f56b0511bf95ce05 |
|
BLAKE2b-256 | 95ccac70d15289dfa5d36555f4cecb9601fd9ddfa2a4fabf08815edf1bf0cd73 |
Close
Hashes for fastcrc-0.2.1.dev8-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9ac3a5170a548ee50b8c4829217111eda9981573e9f26a1be2e5de82fc8699f |
|
MD5 | b98fad6626eaa3e1d3cbab0782551a65 |
|
BLAKE2b-256 | 8c2007a6df21741b608815c7757dca40d9630fcb0b3e8365c7437c3c7cd3f64a |
Close
Hashes for fastcrc-0.2.1.dev8-cp36-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cea41d8715c7a388c00ce1768173c93eb415bfc500cb2f2329aaf4535254ce8b |
|
MD5 | f79f548a5e4eb2f8c350dd4eec8caf02 |
|
BLAKE2b-256 | d7f0d82e5962ee120f4f11fb7370b23ff65629331e21d29a5c98625b6073f803 |
Close
Hashes for fastcrc-0.2.1.dev8-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | daa598750e2800fe730e30ca0e3a269d81927eb466aac19f8bbd4d85063661ee |
|
MD5 | 4b31b65fec356156a54875643238f816 |
|
BLAKE2b-256 | 856b1533c11981da70103faeb731d062494b5bb8e1a0b666957929971bd43632 |