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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for sha256bit-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1a47b860e6746dad3d698a118a0b1b80b30037e2078b333afc07be5d5e4955d |
|
MD5 | 6a87c55de07b89e11569a8f21cbcc027 |
|
BLAKE2b-256 | 8e4c86e3d608bac0e0fb85340670d7455ce57cb0b20dad556d1f5c9a8995091f |