Skip to main content

A module that implements the CRC8 hash algorithm for Python 2 and 3.

Project description

Build Status Python Package Version on Pypi Downloads from Pypi

A module that implements the CRC8 hash algorithm for Python 2 and 3.

Installation

pip install crc8

Or copy the crc8.py file somewhere where you can import it.

Usage

The crc8 class has the same interface as the hash functions in the hashlib module.

Example:

import crc8
hash = crc8.crc8()
hash.update(b'123')
assert hash.hexdigest() == 'c0'

Contribute

If something s not there that you would like to have, open an issue, create a pull request.

The license is MIT and I value contributions if you modify the code.

Project details


Release history Release notifications

This version
History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
crc8-0.0.4-py2-none-any.whl (6.0 kB) Copy SHA256 hash SHA256 Wheel py2 Jul 26, 2016
crc8-0.0.4-py3-none-any.whl (6.0 kB) Copy SHA256 hash SHA256 Wheel py3 Jul 26, 2016
crc8-0.0.4.tar.gz (5.4 kB) Copy SHA256 hash SHA256 Source None Jul 26, 2016
crc8-0.0.4.win32.exe (197.6 kB) Copy SHA256 hash SHA256 Windows Installer any Jul 26, 2016
crc8-0.0.4.zip (8.2 kB) Copy SHA256 hash SHA256 Source None Jul 26, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page