Skip to main content

A resumable implementation of SHA1 hasher

Project description

cykooz.rehash

cykooz.rehash is a resumable implementation of SHA1 hasher.

Usage example:

from cykooz.rehash import Sha1


hasher = Sha1()
hasher.update(b'x' * 78)
hasher_state = hasher.serialize()
assert len(hasher_state) == 94
hasher.update(b'x' * 41)
assert hasher.hexdigest() == '4300320394f7ee239bcdce7d3b8bcee173a0cd5c'

new_hasher = Sha1.deserialize(hasher_state)
new_hasher.update(b'x' * 41)
assert new_hasher.hexdigest() == '4300320394f7ee239bcdce7d3b8bcee173a0cd5c'

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

cykooz.rehash-0.1.1.tar.gz (21.5 kB view details)

Uploaded Source

Built Distributions

cykooz.rehash-0.1.1-cp311-none-win_amd64.whl (125.7 kB view details)

Uploaded CPython 3.11 Windows x86-64

cykooz.rehash-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

cykooz.rehash-0.1.1-cp311-cp311-macosx_10_7_x86_64.whl (187.0 kB view details)

Uploaded CPython 3.11 macOS 10.7+ x86-64

cykooz.rehash-0.1.1-cp310-none-win_amd64.whl (125.7 kB view details)

Uploaded CPython 3.10 Windows x86-64

cykooz.rehash-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

cykooz.rehash-0.1.1-cp310-cp310-macosx_10_7_x86_64.whl (187.0 kB view details)

Uploaded CPython 3.10 macOS 10.7+ x86-64

cykooz.rehash-0.1.1-cp39-none-win_amd64.whl (125.7 kB view details)

Uploaded CPython 3.9 Windows x86-64

cykooz.rehash-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (187.6 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

cykooz.rehash-0.1.1-cp39-cp39-macosx_10_7_x86_64.whl (187.0 kB view details)

Uploaded CPython 3.9 macOS 10.7+ x86-64

cykooz.rehash-0.1.1-cp38-none-win_amd64.whl (125.9 kB view details)

Uploaded CPython 3.8 Windows x86-64

cykooz.rehash-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (187.9 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

cykooz.rehash-0.1.1-cp38-cp38-macosx_10_7_x86_64.whl (187.3 kB view details)

Uploaded CPython 3.8 macOS 10.7+ x86-64

cykooz.rehash-0.1.1-cp37-none-win_amd64.whl (125.9 kB view details)

Uploaded CPython 3.7 Windows x86-64

cykooz.rehash-0.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (188.0 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

cykooz.rehash-0.1.1-cp37-cp37m-macosx_10_7_x86_64.whl (187.3 kB view details)

Uploaded CPython 3.7m macOS 10.7+ x86-64

File details

Details for the file cykooz.rehash-0.1.1.tar.gz.

File metadata

  • Download URL: cykooz.rehash-0.1.1.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for cykooz.rehash-0.1.1.tar.gz
Algorithm Hash digest
SHA256 737f97ba160ad9d9d72d4e63c7d6abd1b1da9e2a15f554f03dd18f2bb71f31d9
MD5 c915f33d41bfb866166f86097dcec6fe
BLAKE2b-256 ddd3ebed492511e524862b6fa41874db537d39e51c8e89f99d2548de02d432ca

See more details on using hashes here.

File details

Details for the file cykooz.rehash-0.1.1-cp311-none-win_amd64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-0.1.1-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 71a2d33dd5a63e2f2725ece2649aae889c0184a681737dc904aefb7214a0846a
MD5 def79e2926918853635560746decb975
BLAKE2b-256 28befe1dd0663613824f27e95d728398a14fddcceb6c3c5463814b0b50e67452

See more details on using hashes here.

File details

Details for the file cykooz.rehash-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b9f02e54ed639e053da8f4f373556f85a87388b9c1b4d5c8515028f7a554b3c1
MD5 0dbd1ab6757a995d9d5e958eb3548e10
BLAKE2b-256 5eb37d2b683c78a8a34ffbeecb0e74c7acb53739ea977080e9cb280e80d2dbee

See more details on using hashes here.

File details

Details for the file cykooz.rehash-0.1.1-cp311-cp311-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-0.1.1-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 73e5a018a04fea1afd840b835924a6ed99b663047eff7135fc9f6e40aa5063a4
MD5 5716dca2bb99e533ad8efb4d344d498d
BLAKE2b-256 44f3531a6934c49e448d997bd2afad6f31bd315a161914a1b45b76479736d471

See more details on using hashes here.

File details

Details for the file cykooz.rehash-0.1.1-cp310-none-win_amd64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-0.1.1-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 8c8f305b3dbdd700eb0da42cc8bee426fcb9a1347fd59f94460a8ecd63107c44
MD5 23955d99ce047e10e40cc0a001fc41c7
BLAKE2b-256 587f221a3398ba040a73c39f3d5f64ebecc6ad264b1b9c32d9e2902a1988aff4

See more details on using hashes here.

File details

Details for the file cykooz.rehash-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8c331f8dfdd68e11d9af6401146870eb651966b2166cc2fc80f3f663bbd73f4f
MD5 705c3b4aa4ffb9c8d53b1faed52cc2e6
BLAKE2b-256 943f232f09a73407573fbfaec40399a622d7578716d626b3e1cbf3bb4c083ef4

See more details on using hashes here.

File details

Details for the file cykooz.rehash-0.1.1-cp310-cp310-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-0.1.1-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 1d78132eede85907707d817f82faf445bb506b893c0a164468f365815305f99b
MD5 b695f6cd72f8cd320dc269d523eba09f
BLAKE2b-256 a4ea4003a5bc043f898f1f74ce2c373be7752e7f28571bdbd74691092d6d51af

See more details on using hashes here.

File details

Details for the file cykooz.rehash-0.1.1-cp39-none-win_amd64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-0.1.1-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 44d16f8213b850122f1342654dc9a40c27033a086c346b98105adfe18e754721
MD5 61328bb18ff6dd609daa995d2274ae93
BLAKE2b-256 c0b9524fb45c409f8de8f8a271640f024e3157a02c904ae09683f7411a1c4061

See more details on using hashes here.

File details

Details for the file cykooz.rehash-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bf344f67d47788fb8635810a7560dce1090b01d921af81890d9f2bd4a973f405
MD5 511a365200d08453308f69969eb7f333
BLAKE2b-256 85d8609fb588fd629260f0ea0763bb2209fd62701639978086081f8310d95fff

See more details on using hashes here.

File details

Details for the file cykooz.rehash-0.1.1-cp39-cp39-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-0.1.1-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 0cb76a746911c4ca53bd66e50ed89468f9170efa07192a186da826be365f70b1
MD5 b595be4e88393afbd9f19024d3d9c436
BLAKE2b-256 5e1e7ae7d95d457508cf5fb56e04f95f4dedd5c337cc61cec5ae3226561ae434

See more details on using hashes here.

File details

Details for the file cykooz.rehash-0.1.1-cp38-none-win_amd64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-0.1.1-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 b4681643031e608d53dcd40740d691e5c6074738addf5f7755f187ae505e56c1
MD5 c7b231bf5236245b33fd40da7db2b3ec
BLAKE2b-256 bc5803db53312fec645295de58e3e98789d3381f19114198d023e71eb84742b9

See more details on using hashes here.

File details

Details for the file cykooz.rehash-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c63cc0b251d3de96d1df07f81a2a0306b870c25a42ad6fef6b23836367afcba0
MD5 992bd99b6c65b1b60aac9b6c4b1a1ac4
BLAKE2b-256 af2cf478b10b79dfee32f8c8832ef4e62cde02af24a3bb45ac582e3a08106101

See more details on using hashes here.

File details

Details for the file cykooz.rehash-0.1.1-cp38-cp38-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-0.1.1-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 7194458f94e645bd87cf9e16a564b1e6f7fcb843b9854c1889961b25f7b254f5
MD5 b4292b17fdadec4aea1d0cd93c5a66bd
BLAKE2b-256 49a3b61a9e9f2c0caa4d75219556b0d03a4e5e86ba191a1d448ed56eb65a9b15

See more details on using hashes here.

File details

Details for the file cykooz.rehash-0.1.1-cp37-none-win_amd64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-0.1.1-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 15d2f68fc01966651dba8189edb7cb483a47890c9b20221dfec8f9a801ed2a61
MD5 d9c42fa57d0cd584a4c261a2fb65a7e6
BLAKE2b-256 1352e9bab4712cf447bff85970aa121ceebf5ed3a205654907639386eb4378e5

See more details on using hashes here.

File details

Details for the file cykooz.rehash-0.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-0.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c8ae820697c66ce772aff72ed0dbf3bca9f1788c838aa94f10e9e48339e87641
MD5 77200b0f71c58340395af372bb298db6
BLAKE2b-256 43e33c8afd3c304b55850e4e6a8153046d066afd944809dbf7cd4f8cd5b21ed2

See more details on using hashes here.

File details

Details for the file cykooz.rehash-0.1.1-cp37-cp37m-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-0.1.1-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 a0957068f8753548cb771494a913ead97184cb269605998e066cf1c3fe146009
MD5 95981a61cf43845b79453bbdfd6edef6
BLAKE2b-256 c9c7c5e3182319ffe91a186633377ef47a4e432d53975bc5ded8811bc238b449

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