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

Uploaded Source

Built Distributions

cykooz.rehash-0.1-cp311-none-win_amd64.whl (125.1 kB view details)

Uploaded CPython 3.11 Windows x86-64

cykooz.rehash-0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (187.1 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

cykooz.rehash-0.1-cp311-cp311-macosx_10_7_x86_64.whl (186.5 kB view details)

Uploaded CPython 3.11 macOS 10.7+ x86-64

cykooz.rehash-0.1-cp310-none-win_amd64.whl (125.1 kB view details)

Uploaded CPython 3.10 Windows x86-64

cykooz.rehash-0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (187.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

cykooz.rehash-0.1-cp310-cp310-macosx_10_7_x86_64.whl (186.5 kB view details)

Uploaded CPython 3.10 macOS 10.7+ x86-64

cykooz.rehash-0.1-cp39-none-win_amd64.whl (125.1 kB view details)

Uploaded CPython 3.9 Windows x86-64

cykooz.rehash-0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (187.1 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

cykooz.rehash-0.1-cp39-cp39-macosx_10_7_x86_64.whl (186.5 kB view details)

Uploaded CPython 3.9 macOS 10.7+ x86-64

cykooz.rehash-0.1-cp38-none-win_amd64.whl (125.3 kB view details)

Uploaded CPython 3.8 Windows x86-64

cykooz.rehash-0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (187.4 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

cykooz.rehash-0.1-cp38-cp38-macosx_10_7_x86_64.whl (186.8 kB view details)

Uploaded CPython 3.8 macOS 10.7+ x86-64

cykooz.rehash-0.1-cp37-none-win_amd64.whl (125.3 kB view details)

Uploaded CPython 3.7 Windows x86-64

cykooz.rehash-0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (187.4 kB view details)

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

cykooz.rehash-0.1-cp37-cp37m-macosx_10_7_x86_64.whl (186.9 kB view details)

Uploaded CPython 3.7m macOS 10.7+ x86-64

File details

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

File metadata

  • Download URL: cykooz.rehash-0.1.tar.gz
  • Upload date:
  • Size: 21.4 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.tar.gz
Algorithm Hash digest
SHA256 94a2e3d57875027cfd38851eea121b8128ddb2fdea7fe1d933753eb160dc32da
MD5 a36fa26e240fb7924d63ff3a7fc3e345
BLAKE2b-256 63878f2bfc6a55c66ba77f43fff44ff9663ee19c6ff989c3d67aa82aba6e1c75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-0.1-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 4dc842b2eb1cf9f1bbbc1c2833553037813ba8d3bcdba7887d6521f43293754f
MD5 1aefe85cd35eef69847035325559b489
BLAKE2b-256 f3436b2911373f97ea251c1396bdc4e92be804877bb4cef162a52532d31fe811

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 67ebee14d37b2581d7a0faee2920c8589c03960204b2e561ec9617cd9276f535
MD5 e28f6b0a023b33b30803073f5dfdf535
BLAKE2b-256 f51d2ad98249c08f045ce2aa5f7d5ed1357650e4a6d12e7a7d3f9ec45d7ea326

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-0.1-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 fd22fb19c8bada5877ae47f074cb04b51f16763316525a29a0d019fc10907a28
MD5 cfb3ae1b903627706543c691bf03f52d
BLAKE2b-256 2cbd2bdc7a3c50f61252fd62df61a269743e68567969b242c9b1de5d2b4301ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-0.1-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 85e516b3763e3fa77edb3d514ba87533018b75da429bfaaa32fff9c9a467e6d7
MD5 3c485cda4795a63a2f0e6407a3c75506
BLAKE2b-256 df33a8e32e3209d7a2377921333bb32f4ff6bf1ac7ec6dcf538b98999947a9f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2c22b3febc1ed35f61d29cd750b6c3f3aa4668c19bf1be75849ddf7e39f3af3a
MD5 55d18a38a023e9ac83d4b17c8377d63c
BLAKE2b-256 cf4baffda571bef70e199282864ba14120f58f60e4691d77ed8aa0c8a39f18b7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-0.1-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 47f1351c1464a8e8dbbcfbca820e8bf62e61f1461ec80f5ed7a079c0d31b585d
MD5 511448c140d6e747d04a3d4dd0de673a
BLAKE2b-256 027e13fb6d04b2cbca7af4c298c68a649f604db09d9952e11d0f9f983bb78c2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-0.1-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 0f1a84f32b646f90a8e22113d32c21849d47c1c7ea4765841cd4497f03340aac
MD5 71f8c61c5af52ed381e87384e71add67
BLAKE2b-256 d295ee8c293d970ff729d706a39b7024c6c85c644e645dbe263f00d4563cfc62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6f62303522a15d722d1a57d40f835a40846b0299e9c208a39528cfb113acc810
MD5 ebbf45e80c5ca0f5728d3ebb5c069c20
BLAKE2b-256 71bbba12e950535054aa581c8acbf91c6392f9b152667a532169a520cc044411

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-0.1-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 78d4b72271f4b7f086cddb0e7dbd01fbf46ad312f387e71e872b8ee465b94e06
MD5 fcf0fe41da09b5cfae61f5108bb5399d
BLAKE2b-256 da89a09e0f1913070881198222b86281b1d4ca0cd7d3d31d25d0367b7b3ed7b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-0.1-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 0b4718534bf96dffd28948557f798a60e14f2f862ab8e8a0cb24a8b1d4b07b7f
MD5 e08f77ea17ae099edcbd9ed225b7c536
BLAKE2b-256 5ea8a8dd09ca1a73fbc70a0c071e770ee291ab51c0fa5427896e7fec232ba9e8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 23dc4573ee183bb7b74190ecaf28b46ecc8f54a61f84fd1cc268b1b4920ca8f3
MD5 0dcfd5ee409749f3df4f0a40fd13a695
BLAKE2b-256 2fffdc9ecbb4cfc14d2321b79b35c0eadb98464dfb72c7128dc51f59e2b1d5af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-0.1-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 05911e65fcf5e90b5cc9bba0a6e4e6336a932e5f89ab6780225ef5a0de7e0a9e
MD5 642c10771d34c9d5c560753886fc6b4f
BLAKE2b-256 e267ebf658b0722489fc6e47081f476a1b9e3b0a00ae6c5279ad257a86de99ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-0.1-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 2edf7f58010c82bca1af7eec1002f0f9c3feb9f23bc28a042c8ba6bcad7b6f7a
MD5 c7b524732b412d5a4b1fff69db303970
BLAKE2b-256 79e93a07efea2d441a7517d90651c146555c4d519a0374fdff995468c0ef2f15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b6efa6c5cbcc457e3005e260ccd1f9c66f17251c74281579686f13ae088c2e53
MD5 a9a995d4236bb920620cb7891c924577
BLAKE2b-256 c4b7676670de54e0a9dd0696e6d2ea03d43d598ec12178ac7925e7c589fea74f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cykooz.rehash-0.1-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 49d65682a93bce4f7859a9cb1eb17d96244f63c0ba1eaebeb496cc215c4f4c5c
MD5 b6683b906c5f1aaf98e679d0eb83fca8
BLAKE2b-256 f73f1fcf9cb340ca2c26faf35125ea524594886bb917880fdc5d31b24c5be7c9

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