Skip to main content

CRC64ISO

Package for calculating checksums using 64-bit cyclic redundancy checks (CRC) according to the ISO 3309 standard.

Generator polynomial: x64 + x4 + x3 + x + 1

Reference: W. H. Press, S. A. Teukolsky, W. T. Vetterling, and B. P. Flannery, "Numerical recipes in C", 2nd ed., Cambridge University Press. Pages 896ff.

Requirements

  • python 3.x

Examples

  • Calculate 64-bit checksum from a string:
from crc64iso.crc64iso import crc64

checksum = crc64iso.crc64("ILOVEMATH")
  • Calculate 64-bit checksum from incremental (bytes) data:
from crc64iso.crc64iso import crc64_pair, format_crc64_pair

crc_pair_1 = crc64_pair("ILOVE".encode())
crc_pair_2 = crc64_pair("MATH".encode(), crc_pair_1)
checksum = format_crc64_pair(crc_pair_2)

Metadata

Release files for crc64iso 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for crc64iso 0.0.2
File Size Uploaded Provenance Actions
crc64iso-0.0.2.tar.gz 4.1 kB Without provenance Details for crc64iso-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for crc64iso 0.0.2
File Interpreter ABI Platform Actions
crc64iso-0.0.2-py3-none-any.whl Python 3 none any Details for crc64iso-0.0.2-py3-none-any.whl

Total release size: 8.6 kB

Release files / crc64iso-0.0.2.tar.gz

Download URL crc64iso-0.0.2.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8e5dade08ed9325d25e2c38d682b5387e6c53fc533ee87d2db258d27155b4e5d
BLAKE2b-256 checksum
How to use checksums
d0cce8899ae3ff67cfc555959e00bdcd90744a2b3ce49628ce0d9b61b7d1407b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6

Release files / crc64iso-0.0.2-py3-none-any.whl

Download URL crc64iso-0.0.2-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ce48ca4850335c5f798731f1b88bce66a2b75c6f47d0145790a0601dca4f847
BLAKE2b-256 checksum
How to use checksums
86c4631a43781041b44d4b38fbd028967d9631734c7f5c229595a117125dc558
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6

Security for crc64iso 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page