A pure Python implementation of SipHash, a fast short-input PRF. Version 0.0.1 is the latest and only release; no active development.
pip install siphashVerified import paths — ran on the pinned version, not inferred.
Setup key and message, then call instance to get 64-bit hash.
Ensure key length is 16.
Use SipHash_2_4 for default security.
Encode strings before hashing: msg.encode('utf-8')Use msg = 'hello'.encode('utf-8')Ensure key is 16 bytes: key = b'sixteenbyteslong'
No dependency data recorded yet.