This python library is a Cython wrapper for the [original C implementation](https://https://github.com/flowerysong/quickxorhash). quickxorhash is a C library (libqxh) implementing Microsoft’s QuickXORHash algorithm.
## Algorithm
QuickXORHash is a non-cryptographic hash function that XORs the input bytes in a circular shift pattern, then XORs the least significant bits of the hash with the input length. The canonical representation of the resulting hash is a Base64 encoded string, because hexadecimal is too plebeian.
## Usage `python >>> import quickxorhash >>> h = quickxorhash.quickxorhash() >>> h.update(b'hello world') >>> print(h.digest()) b'h(\x03\x1b\xd8\xf0\x06\x10\xdc\xe1\rrk\x03\x19\x00\x00\x00\x00\x00' >>> import base64 >>> print(base64.b64encode(h.digest())) b'aCgDG9jwBhDc4Q1yawMZAAAAAAA=' `
Metadata
Release files for quickxorhash 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| quickxorhash-1.0.5.tar.gz | 3.3 kB | Without provenance | Details for quickxorhash-1.0.5.tar.gz |
Release files / quickxorhash-1.0.5.tar.gz
| Download URL | quickxorhash-1.0.5.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d0857357bfab95d701ed145beae1fc8d8ac9386aa7475932e82e2afd96a8bb0
|
|
BLAKE2b-256 checksum How to use checksums |
8d85699be9823e7c0a617efdf576d5bd38d85e7dccaed7d8caad4f854be53f44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.7.2
|
Security for quickxorhash 1.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.