Metadata-Version: 2.1
Name: csiphash24
Version: 1.0.1
Summary: A CFFI-based implementation of SipHash24
Home-page: https://github.com/alexpirine/python-csiphash24
Author: Alexandre Syenchuk
Author-email: alex@pirine.fr
License: MIT
Description: # python-csiphash24
        
        SipHash-2-4 implementation, CFFI-wrapped for Python.
        
        It just works. If you have Python ≥ 3.6.
        
        Inspired by https://github.com/majek/csiphash and https://github.com/zacharyvoase/python-csiphash.
        
        ## How to install
        
        ```console
        $ pip install csiphash24
        ```
        
        ## How to use
        
        ```python
        >>> from binascii import hexlify
        >>> from csiphash24 import siphash24
        >>> hexlify(siphash24(b'0123456789abcdef', b'hello'))
        b'95a3a242a9dd85d1'
        ```
        
        ## Is it fast ?
        
        On my late-2016 MacBook Pro, hashing a 256-bytes message takes less than a microsecond on average (about 780 nanoseconds to be precise).
        
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3.6
Requires-Python: >=3.6
Description-Content-Type: text/markdown
