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.tar.gz
(17.7 kB
view hashes)
Built Distributions
fastcrc-0.2.1-cp36-abi3-win_amd64.whl
(155.3 kB
view hashes)
fastcrc-0.2.1-cp36-abi3-win32.whl
(147.3 kB
view hashes)
Close
Hashes for fastcrc-0.2.1-cp36-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c7bfb93f66971cbbf99016dbf7b4feacc41d8a76f2490c5ea6c543da4cd429c |
|
MD5 | 9c7aa9e4fbc38c893fe2b5d8d55cf93c |
|
BLAKE2b-256 | b3c6063945358e8eb805141b16bbd82b426c42312215a7d69edae97072594033 |
Close
Hashes for fastcrc-0.2.1-cp36-abi3-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55070a2a87ea4efc98b58f86ebeabdacc8c7ceb31fe0bafa8c9bdcfd7cebe6c5 |
|
MD5 | 3a8e084fb4a6abd5f37584a64c37929c |
|
BLAKE2b-256 | 8005699f303e34b6968555d5b0e053d57cc884412bad637edf4cbb130c50aaf3 |
Close
Hashes for fastcrc-0.2.1-cp36-abi3-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cacf4556abb9ff7c18445f46c616d1921c3c3e823f1627e6dd259fec33c2393 |
|
MD5 | b47397a5c1321948de53f1bc0df18d98 |
|
BLAKE2b-256 | 6cc0db034b847fb00a2143ce63e62c008b81d5415aa2c13cb04484b782470566 |
Close
Hashes for fastcrc-0.2.1-cp36-abi3-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8f4a3344cd0104989d6fdb69564f93aa3b2af3bdb80213485215f99967133f8 |
|
MD5 | 8d882a5adf3ea8ae08893b9e211a1272 |
|
BLAKE2b-256 | 838dbf43d78b13aee61f6aba739ca5b00bdb228023e3274a4c512e724000cd17 |
Close
Hashes for fastcrc-0.2.1-cp36-abi3-manylinux_2_24_armv7l.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f96b1b26752c286e25893bb43bfa83dc1c5617e6831e3b155d7771ca47dee9df |
|
MD5 | 98f13de86e6ee299debf9a43ec2c3fa5 |
|
BLAKE2b-256 | ece065374edbb8885075ffca32c1bdd28b235432c2e82760d14018f760301894 |
Close
Hashes for fastcrc-0.2.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdc91e6550f0fd4e4f81dbdb297d0f4284af50342438930c914a27fb71b33eb6 |
|
MD5 | 1b9be76abe9c3c572de7b913b25d44f0 |
|
BLAKE2b-256 | 4f2d9c6d93a808dab6087c57d113c1117cad3e19456459afe85a4b83ab154061 |
Close
Hashes for fastcrc-0.2.1-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6af768f24c489a2775472149b813172a93fdbacbc6ec245bd50541515c21f541 |
|
MD5 | 9f90017f32f6888df45937d48326b8c3 |
|
BLAKE2b-256 | b83a60293f7eae505634bcec5d47fc2416fa88a64c5dbaa403ea475198f2a3b3 |
Close
Hashes for fastcrc-0.2.1-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c64cd6dd64cf7b830edff065d4cd1a78b86a1e15e0189912267bde2cf46b7114 |
|
MD5 | 2185ca14a69467f872539efce4202c93 |
|
BLAKE2b-256 | e261f494012f2110c530b7ae2cd48414997fe08c083b5557bbe47458ffeb2285 |
Close
Hashes for fastcrc-0.2.1-cp36-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e68971b3033d651c477c35e4cf284503b6d8ee8fb009d2e23c3ae50fed7f71d |
|
MD5 | 3c4f8ca3448dbbf565807fda97a3f755 |
|
BLAKE2b-256 | df5b27cd9591f7494c451cdedc182ddd628b9bc4dbdd03400830d48ff6ae8b3d |
Close
Hashes for fastcrc-0.2.1-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a0f736cf366ad413d6522da3eab0974e98fd607095cfe5618ef348b96f6088e |
|
MD5 | 63a202eb94ec6847ecf899e17222cf01 |
|
BLAKE2b-256 | 0027dbcc59a6fe6eca70e1483ab6fa59ec0e9db96589d0ea38670df3c8fbc011 |