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.dev7.tar.gz
(17.5 kB
view hashes)
Built Distributions
Close
Hashes for fastcrc-0.2.1.dev7-cp36-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0288e95ff75291501a6b6268485cbec023c4165e5a9f85b6e1d6cb22f731a36 |
|
MD5 | 9778f8e5c3f621f85c8d87a5aafee409 |
|
BLAKE2b-256 | f92469c111ac22143e5abda048865169a063185bd57127557ebdc81cf79b9134 |
Close
Hashes for fastcrc-0.2.1.dev7-cp36-abi3-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec76306c5d9de2741b0f661118f1a294365c3ccb4b7b8825ee36f1db741c50aa |
|
MD5 | 29d425f0adcf5ae53ff9d94cd5184ecd |
|
BLAKE2b-256 | 08eb440c5e0250d93b78a2810ac6e0c83863aed9d44258e9ae84e0b944acf324 |
Close
Hashes for fastcrc-0.2.1.dev7-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 850e4d65c1a659602aba9cc4671b5654b52448c254c3cdeab57fd0bf0716b2fd |
|
MD5 | 05664c59f61f4199530f95574eec7a4b |
|
BLAKE2b-256 | 0e73a2c2689bba85812adb0aef0c66a37967e4009858654fb525fbfacfb4f3d6 |
Close
Hashes for fastcrc-0.2.1.dev7-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36d423559ac7d61e8d0ee2af91ad7a944e6276324063d2136ed1935ee1e059e6 |
|
MD5 | 4667c321a84e07df859ef4e26fcdfdda |
|
BLAKE2b-256 | de987ed2cb9201849d224a46468752d2987a501e779756a2cb52f3420659972a |
Close
Hashes for fastcrc-0.2.1.dev7-cp36-abi3-manylinux_2_24_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 501839592373dc0c9605a3f50297ca7faf70ab9f723498d3ccc3a4c9f4c6a26d |
|
MD5 | 02892f805bc23cd4a24cf79904e2104d |
|
BLAKE2b-256 | b236291729b091ce2543782ac8704d678f110a5a089ed864a8236a446a8cc356 |
Close
Hashes for fastcrc-0.2.1.dev7-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4a4dda9a6d8fd1355c0ae8b92a2fa51fe96b6bdcc0457d4315b23d17fd1659d |
|
MD5 | 74f584cbe5280565638e7454c62719a2 |
|
BLAKE2b-256 | 04ed5ff1c8838f3d90e94fe2d3a9e168cc0b2676017ad92463aa357b418b8d0e |
Close
Hashes for fastcrc-0.2.1.dev7-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f47d94a9f83397965c0745033072ac3283943dffab2e5e3995d930e9e88cdbe8 |
|
MD5 | 382ed9acc6d206b8778567845646d8ba |
|
BLAKE2b-256 | d5ffd45b4637b82b8399fc41a18c659a15a29f4121df46c26aa3e0f1f5e95e44 |
Close
Hashes for fastcrc-0.2.1.dev7-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4dba12a986eaa0a56d197d0822bf741311c4bac5b52eddf9e48400e9d684cb7 |
|
MD5 | ee92a4f2e32c6af013e76eb35a941718 |
|
BLAKE2b-256 | b07711c19f2d5bcd0526580780ace59cc50adb69e3b4c2156b8bb448befb391c |
Close
Hashes for fastcrc-0.2.1.dev7-cp36-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f529b2cb954d7db2b73e5e973eb478da178c0a62cdbd3a4386408df4fbe08e3 |
|
MD5 | d7ad46dad4cd8c4133fd146f98e46105 |
|
BLAKE2b-256 | 220b0746ea73c213f0734518873f73ab04e79f1617cb4a84149bb9dbce8e54eb |
Close
Hashes for fastcrc-0.2.1.dev7-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9e2693e61001b868205e4630076eb263ff144fd6c42617d0f493406a4eb58d8 |
|
MD5 | f4523646b1a51d8856784fec3823a7bf |
|
BLAKE2b-256 | 71c6c46f97d203dc7f822649a096bb51d423f41e666bf8566f748bad6c761ca0 |