{"library":"siphash","title":"SipHash","description":"A pure Python implementation of SipHash, a fast short-input PRF. Version 0.0.1 is the latest and only release; no active development.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install siphash"],"cli":null},"imports":["from siphash import SipHash_2_4"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from siphash import SipHash_2_4\n\nkey = b'\\x00' * 16  # 128-bit key\nmsg = b'hello'\n\nsiphash = SipHash_2_4(key)\ndigest = siphash(msg)\nprint(digest.hex())  # 64-bit digest","lang":"python","description":"Setup key and message, then call instance to get 64-bit hash.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}