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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.12 Windows x86-64

cykooz.rehash-1.0.0-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.0-cp312-cp312-macosx_11_0_arm64.whl (186.3 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

cykooz.rehash-1.0.0-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.0-cp311-none-win_amd64.whl (116.1 kB view details)

Uploaded CPython 3.11 Windows x86-64

cykooz.rehash-1.0.0-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.0-cp311-cp311-macosx_11_0_arm64.whl (186.7 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

cykooz.rehash-1.0.0-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.0-cp310-none-win_amd64.whl (116.3 kB view details)

Uploaded CPython 3.10 Windows x86-64

cykooz.rehash-1.0.0-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.0-cp310-cp310-macosx_11_0_arm64.whl (186.9 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

cykooz.rehash-1.0.0-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.0-cp39-none-win_amd64.whl (116.6 kB view details)

Uploaded CPython 3.9 Windows x86-64

cykooz.rehash-1.0.0-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.0-cp39-cp39-macosx_11_0_arm64.whl (187.1 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

cykooz.rehash-1.0.0-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.0-cp38-none-win_amd64.whl (116.7 kB view details)

Uploaded CPython 3.8 Windows x86-64

cykooz.rehash-1.0.0-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.0-cp38-cp38-macosx_11_0_arm64.whl (187.1 kB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

cykooz.rehash-1.0.0-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.0.tar.gz.

File metadata

  • Download URL: cykooz.rehash-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 59d6ee600a297899f52a5db4efef4f91f90878baf0b4c1caef16f27e7b6c0108
MD5 d7efdecf3dadeb7ebe25f342172bce66
BLAKE2b-256 9a1eaa8d678c0ffca835aae719ce5b68e199e2bab39bf64877e2462de376f2a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 0b54c68b7ce6eda8a2b2c8509c1c5a9cb03b98d007cbf389241ccb127106db3a
MD5 d6e2647b62b4680adacf3ed14294d06c
BLAKE2b-256 9d1ac063117149a324bdb1f131cf19304acf8a76597af22416bd824440cf6628

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 60284205ee2ba12cf14cd4ece597a8cfa33f4aeca31a0e20d313f6fb56f86e14
MD5 a5909c7a79594f49c54174c19931f64f
BLAKE2b-256 6b3570780ac480b1fe294108820c9798d2e08434b5f407aa6458dc4053e5a5d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 091d4cd00e1718c7dfb4eb55f509f4d9dc5917561dfb5e0fd645de6f4d12a77d
MD5 259ac2cc57a7bff610e5d7951268bf19
BLAKE2b-256 c643a2c1276b49f5d16bd4323a144e7656bad718b707b8b7c6856e441035c6da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 779a0b03a997f5b27e2cb1788da6ada2838f7e196681df4fa956156641d2f5d3
MD5 eca9aab1d84bb2404b6daff72fc38c57
BLAKE2b-256 07208e0749e9664b5ffdeb5c05f080276f071d58bc8f3f30f2a898a1b265b9db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 3b5b8a460523337d035da42b3ec063bcb16b18a3f7af0d83bdc3c3a1c307021b
MD5 b7c7ffed3f1de56487b664ee0795375c
BLAKE2b-256 f71ea7da53f725c5a11877755b78cc5f5dea176558a2ce5f6b94dba9adb1ba9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 15063688911aa1866fa2cc13da56cca0ca273b8fe08b891350e2246ed78a31a4
MD5 cf40165bc41af4708b14fd2dd2eb676d
BLAKE2b-256 83793a0e683bf6b311d0dfe9e8057c46cee3a681ab02df7351554c75da25a3cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 14754083d30cf96d33edca939e53536a5f6d5a5e982fa0586a66e78903ff9995
MD5 e50d40a77ab39c886479fca9ad2c4236
BLAKE2b-256 76e1b5aa2b000c6509ea83f07a9d22c96ace578d2abf914a726006b60c7092b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 856dfe03cf62c01228b4b4bad573e3dfb79cee7e6db75c6471dc8f1be0c6d99c
MD5 d0b86dcc937274ee7ec03206ca58d47f
BLAKE2b-256 a9c67ee380fc50171aa968ff428b9efb44a670377546160b8ea649bb1fb3bf7f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 36fe432d7cf193c1efdf6ff23b35399bcefdf9598a66c63de65d9d8ea9fd532d
MD5 77c1cf3ee2cda54c93d62234948adf42
BLAKE2b-256 4e5c68e614983d0ee8dc6e5fd2f623f8b5a377cb26990fac3727e42e883cb121

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8b3b884f0ed8dd6afce384e2a4807d49ba798ab6614447798313d582476fe8d6
MD5 54ea0823a9143546867cdf99023cfc85
BLAKE2b-256 925c19f976b148a52e3fa1e6a9d5fc66db1fefc34f6e0de9b9335a4b7e84dd4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3f6142aa2205e70ef1e5484bed1b18c6a3812d6e52d1b56bb2cab212ace215b7
MD5 e5c97d4f705ae9947fddbf4c69d4173f
BLAKE2b-256 2273894c52490ec5eaab8ce101252f757907bc31513834dfee30d146d3ed2411

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 62d12b477a2b78cb8e29f48dccda202d6899001750d18a5ef8ee0370ee6e7a19
MD5 8c1cba1ff21bd3d147967fac2d2eec78
BLAKE2b-256 812ce029da77acae3b4d7cfd87c610d81321cf898e9f83850a14463a24730051

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 512e6b32d8e1c02a503ccd7f6237810444698c8999b08e4b5a7b29a0910b69b9
MD5 8aa93df64861aabfe8ca8ead386cf7b5
BLAKE2b-256 010d377e26d3c35a421af1e256a8f2e8022de0152a76f0093b0e14aba389d2e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b50900f7081bdded7027001977d9ffbc6e269c9fd3bd1c532b3a529975860fe7
MD5 8d52c28a75aec66f4c1c87b5c0a93efe
BLAKE2b-256 9b0befd177e24b4d62a14d70ea376df2df542972fa34c015c725666ead363af2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c07d8355e68a034a3801e63a03bfa5cf378b3281e6b788d0f4564f220f643540
MD5 feacb06ff736c68eb8e1c4e4c3990b72
BLAKE2b-256 19f22eee4c2d599f0ceb114502e226c849ee4d92b845865f410e65373ae03fda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5820d44167d4e1c50608a96ad250de7e771cb5a89e407221d1f603b8fbd1fe76
MD5 c9b8445dcecda61868d8506aa0c446a9
BLAKE2b-256 aeeed0d57e1d50f8c1780f60fcfa739a4883f2265e0076818dfe127c814952fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 fe8894296640a1279787edaf8aab5c945cd2150ceb330b5e64b379bc89867b34
MD5 c60bd99aa23cb200634197ad133f9424
BLAKE2b-256 e38d9e6517bee7df29ac82aa29a680caf5cac09264ff5c4738073816659cd982

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 690a89123c444d2b76b27c43240b71d5e9ca5087c95ea766badf3f790bcb90ca
MD5 d4687dbb5cf6ba367e82c7ab87344671
BLAKE2b-256 37de2a4a363f4b2abbe774b44483562a7314279f48b00e7e524b1c7c9329ea40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a2e176a583f848318072c21dd93f3d907234a238f78ad36e8db2f941299b1aa2
MD5 5c1d213466e35c231bb0679a9a87b7e0
BLAKE2b-256 fc220baff7cd11b0f4fa1698048ef033d212b20ed920d8922d2c96c3298c8d7b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-1.0.0-cp38-cp38-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 14732abcbc83ae32ce8f52f1d90804a8e9bf329dff932680a2418a3cbd6de8eb
MD5 6d1a00744108ca0896adcfc0a040db4e
BLAKE2b-256 40d182f7369a9dde58df9ce1fe16120d93ad9a311f5b32812c35c2bff8261a3a

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