MurmurHash2 For Python3
Project description
- murmurhash is a fast hash function ::
>>> import mmhash2
>>> print(mmhash2.murmurhash64a("zhenhao", 0x1234)) 16299279845682521441
>>> print(mmhash2.dechex(mmhash2.murmurhash64a("zhenhao", 0x1234))) 'e232aca990972561'
>>> print(mmhash2.base62encode(mmhash2.murmurhash64a("zhenhao", 0x1234))) 'jq2Se1vfXaN'
>>> print(mmhash2.murmurhash64b('zhenhao', 0x1234)) 4178523214822422458
MurmurHash2 http://murmurhash.googlepages.com/ MurmurHash2, 64-bit versions, by Austin Appleby
Modified by hit_zhenhao@163.com
linux python lib
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
mmhash2-1.7.tar.gz
(2.6 kB
view details)
File details
Details for the file mmhash2-1.7.tar.gz
.
File metadata
- Download URL: mmhash2-1.7.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb13ff76b6f6d97089522d2d6d3b90086180ab54a9fd82f0f17c4b323268d786 |
|
MD5 | c126d93eea5833660f42a3679dea7356 |
|
BLAKE2b-256 | 670c668bdf75d534ae39b49b29d66f7385af8f1b0ad51008baa1a15e5d6a4a19 |