Metadata-Version: 1.1
Name: quickxorhash
Version: 1.0.5
Summary: Quick XOR hash function for OneDrive for Business
Home-page: https://github.com/HarryChen/quickxorhash
Author: Harry Chen
Author-email: cjhecm@gmail.com
License: MIT
Description: 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='
        ```
        
Keywords: quickxorhash onedrive
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Development Status :: 4 - Beta
