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-1.0.1.tar.gz (22.5 kB view details)

Uploaded Source

Built Distributions

cykooz.rehash-1.0.1-cp312-none-win_amd64.whl (117.1 kB view details)

Uploaded CPython 3.12 Windows x86-64

cykooz.rehash-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (207.9 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

cykooz.rehash-1.0.1-cp312-cp312-macosx_11_0_arm64.whl (186.3 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

cykooz.rehash-1.0.1-cp312-cp312-macosx_10_12_x86_64.whl (194.6 kB view details)

Uploaded CPython 3.12 macOS 10.12+ x86-64

cykooz.rehash-1.0.1-cp311-none-win_amd64.whl (116.1 kB view details)

Uploaded CPython 3.11 Windows x86-64

cykooz.rehash-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (208.1 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

cykooz.rehash-1.0.1-cp311-cp311-macosx_11_0_arm64.whl (186.7 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

cykooz.rehash-1.0.1-cp311-cp311-macosx_10_12_x86_64.whl (195.0 kB view details)

Uploaded CPython 3.11 macOS 10.12+ x86-64

cykooz.rehash-1.0.1-cp310-none-win_amd64.whl (116.3 kB view details)

Uploaded CPython 3.10 Windows x86-64

cykooz.rehash-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (208.3 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

cykooz.rehash-1.0.1-cp310-cp310-macosx_11_0_arm64.whl (186.9 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

cykooz.rehash-1.0.1-cp310-cp310-macosx_10_12_x86_64.whl (195.3 kB view details)

Uploaded CPython 3.10 macOS 10.12+ x86-64

cykooz.rehash-1.0.1-cp39-none-win_amd64.whl (116.6 kB view details)

Uploaded CPython 3.9 Windows x86-64

cykooz.rehash-1.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (208.6 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

cykooz.rehash-1.0.1-cp39-cp39-macosx_11_0_arm64.whl (187.1 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

cykooz.rehash-1.0.1-cp39-cp39-macosx_10_12_x86_64.whl (195.5 kB view details)

Uploaded CPython 3.9 macOS 10.12+ x86-64

cykooz.rehash-1.0.1-cp38-none-win_amd64.whl (116.7 kB view details)

Uploaded CPython 3.8 Windows x86-64

cykooz.rehash-1.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (208.7 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

cykooz.rehash-1.0.1-cp38-cp38-macosx_11_0_arm64.whl (187.1 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

cykooz.rehash-1.0.1-cp38-cp38-macosx_10_12_x86_64.whl (195.5 kB view details)

Uploaded CPython 3.8 macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: cykooz.rehash-1.0.1.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for cykooz.rehash-1.0.1.tar.gz
Algorithm Hash digest
SHA256 46df723cabef510e181fab264878ec844ca6c7829214ccdfa91982ad6fa75737
MD5 8847923fc3536ebc7de70fc6044847c3
BLAKE2b-256 fe419cc5a89738aa444d48075c8711074cb653e546021df7b7c93a5e5d9f7b92

See more details on using hashes here.

File details

Details for the file cykooz.rehash-1.0.1-cp312-none-win_amd64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 299d5660251b1fefa09493c32a1317090768d2e1733e32bd3206da4665273673
MD5 57773750bcb82225adb97db79c8a4cb6
BLAKE2b-256 95e204aef76dab552b71479a09c4ab0681474c3425785b603aab563ed7323ef5

See more details on using hashes here.

File details

Details for the file cykooz.rehash-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 104cdadb9da9ea1507cc5b78c72cdd08937935e5b723b68f2bcb4ea33c6fe1ac
MD5 b722e870cc7743d773b461e3682aaaef
BLAKE2b-256 bb704ada5ad9b3b203204c7e4b83c2cdf1eddb26275882bad32cbed93350fa7b

See more details on using hashes here.

File details

Details for the file cykooz.rehash-1.0.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 268a5b83dea88054f51f93b7376241cb78f1511d94bce2065e40e16efce2f455
MD5 5cab36cd117f6415d300e01411b7b94a
BLAKE2b-256 e18067ffd80eedf90cd06c9823a0259dfbad958174dff6e04d0674e016a4328a

See more details on using hashes here.

File details

Details for the file cykooz.rehash-1.0.1-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e1d26e091937ed0c884dc962f81524a23dd06112e117b3e4c256576be7416845
MD5 5717f9b825c86c69396fee6681214c3b
BLAKE2b-256 4d6931743506ce1d41306d3aa9e5872b61befb301f37b676791bcc871c2fba47

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 facf0a9a47a19aa04ef3342d487a595edc8bd0aa4f7500764a551e039e81717d
MD5 2b0d4b454e9fb017d7bf93ce652c77cc
BLAKE2b-256 68915c7aa6613b05fd573df91bf9caf72610c73ba269dc6d59eefee6a9ab5d0a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8f7083640d7020a41c0b9f0f484355a4f44753be2285017fd67d596abb56fd1e
MD5 22f461f3700be25a0691d724adfe1f37
BLAKE2b-256 1fa0c5fd770c79e6ff47f114f5092169e541f75bc9be2991a72937a9684d1204

See more details on using hashes here.

File details

Details for the file cykooz.rehash-1.0.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7eb37d2ca72ab8e58e85eac52de3485cbac2e5d12454a292edbde94204a374d6
MD5 c4654cce6bcb895ef8ddd75685b329fc
BLAKE2b-256 f709c2bf5dc4010d1a35a8190789527e7aa36f59927d03b6a31acba4789b4e7c

See more details on using hashes here.

File details

Details for the file cykooz.rehash-1.0.1-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d137cd70ce774d3d67e4ff50a6a7725c5addee2f735c8202dc6f191417a5efcf
MD5 769b7f7f5f891455f92379a04105f87c
BLAKE2b-256 f92209a3f16633c2b7b8d60e4d8dcb954b7098dcb0d885658ffc77db1e42db6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 d2a90efcddc596c26bc9674f6a8018c98120da7aca7e6900e0ea2c2f9deda66e
MD5 effc4a735f55c9ad65a3626b4bdad1e1
BLAKE2b-256 63dfd4ce966cfc6d5a886fddf95c5805df3dfef2b6f2a3b91801e521872f9b7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6d1d92a8ab1957bd707afc1bf4a4fc9672bcfa797f038b6830ae90321a59e806
MD5 7e9c32ed3bd6950b0acab88b08163bb0
BLAKE2b-256 d33f34792bc10d129426a39132fc8619216733fad7a7a239939d23b284355289

See more details on using hashes here.

File details

Details for the file cykooz.rehash-1.0.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2a3a9f577dc855a07dc802096b0a9671e4f0f787852bcf1bf602137bf2edc193
MD5 5c586b878728116ab81e5db626a6ad95
BLAKE2b-256 d647ab1a59ee3ad59db1ad7aa07f7caeb4e241439de15d2d81ee7997f1f7f623

See more details on using hashes here.

File details

Details for the file cykooz.rehash-1.0.1-cp310-cp310-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ac41e90854e5ed0c6ed156be1225c41ccee98c20006ecbbd76776b7cb3d2cb1c
MD5 b80a8e8189d56cab2512be946195f466
BLAKE2b-256 ecb6e2a50631dd4ce3afde25b83bef1759d45efce21c36549b8e8719fac45eba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 8b111e759ab526722d5c668f60af75abce547588ffae58aa8d443ff4b0a2f72a
MD5 215b61ee10df67337c61c2db6aa39984
BLAKE2b-256 61299ab0afe8499b29d6efaf41853bd8a243939da074a3590da7e5495973ed7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1bcd9538891945694ba31f7fc7e7756f0b0f1907179e5e76ae130adefac54106
MD5 00ec83c4cd9528957099a7dfefc9398a
BLAKE2b-256 a4bd2e54774fbc54ad5c9c24e474bb47463f53cd3e039591bf88f162d4b8ad17

See more details on using hashes here.

File details

Details for the file cykooz.rehash-1.0.1-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 53286945a3bf7145f88548a67faed788367c81a4a5ce912ba82f764cc76f96fb
MD5 ec00ab44631d1e23988705167e6c3306
BLAKE2b-256 736cf649948d01d373aa198d2f6a3530eeebe7b5c82020bf6a9dc226ea61e1c5

See more details on using hashes here.

File details

Details for the file cykooz.rehash-1.0.1-cp39-cp39-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3e76bbfee437738289eaf0f39f1316f44d742853dc08fedf10ab464b8154f9fd
MD5 8a113e5233b9f04d55c9c9c0d5d7059b
BLAKE2b-256 00bee97c52c409ad2d2b1722e23070ce23164887751c2e2e10cadc7ed2960870

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 d753fa73329dbd0bf4854d7efdd24558ebed03c88679858d7537276318ec26d1
MD5 8f1b303a6121565c220aa36651aac1a3
BLAKE2b-256 9fd2ce961d125fb6fbe50ee99c74eb2b31adfba6c6a38a1df58de8cff27f227f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 59e4793a9d8c6ce4b27e05830319848821ef1d9cfe5ce5dfcd0a7540e1f67e59
MD5 e5c21f66e44134efbf782b3bf3ea7ab6
BLAKE2b-256 2defa90d30fe72d0122569a7e9ffd72aa3f0b4ede05f85dc47cc8ffe6794a1e4

See more details on using hashes here.

File details

Details for the file cykooz.rehash-1.0.1-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7e7bd667c40460bc4bc27dd1444590129092fa83dc1f69052f3c35b9eda3b1ff
MD5 c09dde5546d379025a7acf23294b767b
BLAKE2b-256 fcdbe00788fe6fefddf7c26c6ad0c851cbbbcb6c41730e9247fb6d37e3a9a962

See more details on using hashes here.

File details

Details for the file cykooz.rehash-1.0.1-cp38-cp38-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for cykooz.rehash-1.0.1-cp38-cp38-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 12ca4739301d1dd90ba439d72d9d16c9ed6757e2e9a6b9e7fb307758e0b50e83
MD5 ba2b56a173b9345b677375960ecd7820
BLAKE2b-256 91396e42473de9a36968f55753bea52676c983c80c5a2008c050886838e684c9

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