
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
.. image:: https://img.shields.io/readthedocs/fastcrc.svg?style=flat&maxAge=1800 :alt: Read the Docs :target: https://fastcrc.readthedocs.io/
.. image:: https://img.shields.io/pypi/v/fastcrc.svg?style=flat&maxAge=1800 :alt: PyPI :target: https://pypi.python.org/pypi/fastcrc
.. image:: https://img.shields.io/badge/python-%3E%3D3.7-blue?style=flat :alt: Python - Version :target: https://pypi.python.org/pypi/fastcrc
A hyper-fast Python module for computing CRC(8, 16, 32, 64) checksum.
.. code-block:: text
pip install fastcrc
.. code:: python
from fastcrc import crc8, crc16, crc32, crc64
data = b"123456789" print(f"crc8 checksum with cdma2000 algorithm: {crc8.cdma2000(data)}") 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'))}")
fastcrc's documentation can be found at https://fastcrc.readthedocs.io
fastcrc is licensed under MIT License
_.
fastcrc is made possible by crc-rs
_.
.. _MIT License: ./LICENSE .. _crc-rs: https://github.com/mrhooray/crc-rs
FAQs
A hyper-fast Python module for computing CRC(8, 16, 32, 64) checksum
We found that fastcrc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.