Skip to main content

Native checksum implementation for python

Project description

# Checksum only python native module I tried to find a quick python native implemenation of ip checksum to achieve a better performance - I Didn’t find any, so I created my own module.

Calculate IP checksum-16 (Host endianess for compatability with other pure python implementations:

#### How to use `python from checksum import checksum res = checksum(b'BEST DATA') ` The module also supports partial checksums: `python from checksum import checksum res = checksum(b'BEST DATA') res = checksum(b'ANOTHER BULK OF GREAT DATA', res) `

Project details


Download files

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

Source Distribution

checksum16-1.1.1.tar.gz (1.7 kB view details)

Uploaded Source

File details

Details for the file checksum16-1.1.1.tar.gz.

File metadata

  • Download URL: checksum16-1.1.1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0rc1

File hashes

Hashes for checksum16-1.1.1.tar.gz
Algorithm Hash digest
SHA256 8285c2feb4a847f6dda0d519c1e148f4124d8590437baaf26958fd32901c946c
MD5 d09ada7c2dcd53a79c810f90f6f5a6ea
BLAKE2b-256 04a775fa17d5e5acf32a4ae8b791e4a14e7b9e9f1e42da6fad61f6bf00eadda1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page