Skip to main content

SHA256 with bit granularity for message input length

Project description

sha256bit

SHA256 with bit granularity for message input length.

Usage

>>> from sha256bit import sha256bit
>>> sha256bit(inbits,bitlen=len(inbits)).hexdigest()
'bd4f9e98beb68c6ead3243b1b4c7fed75fa4feaab1f84795cbd8a98676a2a375'

Build the package

python3 -m build

Test

Tests can run without creating/installing the package:

python3 -m test.test

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

sha256bit-0.0.5.tar.gz (2.0 MB view hashes)

Uploaded Source

Built Distribution

sha256bit-0.0.5-py3-none-any.whl (7.7 kB view hashes)

Uploaded Python 3

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