ó Ű_e[c@`s—ddlmZmZmZddljZddlmZm Z ddlm Z e j ƒZ e j ƒZe jƒZe jƒZd„Zd„ZdS(i(tabsolute_importtdivisiontprint_functionN(tffitlib(tensurecC`s‡t|ƒtkr-tjdjtƒƒ‚ntjdtƒ}tj ||t|ƒ|ƒ}t |dkdtj ƒtj |tƒS(sŮCompute a fast, cryptographic quality, keyed hash of the input data :param data: :type data: bytes :param key: len(key) must be equal to :py:data:`.KEYBYTES` (16) :type key: bytes s$Key length must be exactly {0} bytessunsigned char[]itraising( tlentKEYBYTEStexct ValueErrortformatRtnewtBYTESRtcrypto_shorthash_siphash24Rt RuntimeErrortbuffer(tdatatkeytdigesttrc((s@/tmp/pip-install-KP2Jbq/pynacl/nacl/bindings/crypto_shorthash.pyRs cC`s‡t|ƒtkr-tjdjtƒƒ‚ntjdtƒ}tj ||t|ƒ|ƒ}t |dkdtj ƒtj |tƒS(sÚCompute a fast, cryptographic quality, keyed hash of the input data :param data: :type data: bytes :param key: len(key) must be equal to :py:data:`.XKEYBYTES` (16) :type key: bytes s$Key length must be exactly {0} bytessunsigned char[]iR( Rt XKEYBYTESR R R RR tXBYTESRtcrypto_shorthash_siphashx24RRR(RRRR((s@/tmp/pip-install-KP2Jbq/pynacl/nacl/bindings/crypto_shorthash.pyR.s (t __future__RRRtnacl.exceptionst exceptionsR t nacl._sodiumRRRt crypto_shorthash_siphash24_bytesR t#crypto_shorthash_siphash24_keybytesRt!crypto_shorthash_siphashx24_bytesRt$crypto_shorthash_siphashx24_keybytesRRR(((s@/tmp/pip-install-KP2Jbq/pynacl/nacl/bindings/crypto_shorthash.pyts