Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
contego / home / tvault / .virtenv / lib / python2.7 / site-packages / nacl / bindings / crypto_hash.pyc
Size: Mime:
ó
ۍEYc@`s•ddlmZmZmZddlmZddlmZm	Z	ddl
mZe	jƒZ
e	jƒZe	jƒZd„Zd„Zd„ZdS(	i(tabsolute_importtdivisiontprint_function(t
exceptions(tffitlib(tensurecC`sZtjdtƒ}tj||t|ƒƒ}t|dkddtjƒtj	|tƒS(sb
    Hashes and returns the message ``message``.

    :param message: bytes
    :rtype: bytes
    sunsigned char[]isUnexpected library errortraising(
Rtnewtcrypto_hash_BYTESRtcrypto_hashtlenRtexctRuntimeErrortbuffer(tmessagetdigesttrc((sN/home/tvault/.virtenv/lib/python2.7/site-packages/nacl/bindings/crypto_hash.pyR
s
cC`sZtjdtƒ}tj||t|ƒƒ}t|dkddtjƒtj	|tƒS(sb
    Hashes and returns the message ``message``.

    :param message: bytes
    :rtype: bytes
    sunsigned char[]isUnexpected library errorR(
RRtcrypto_hash_sha256_BYTESRtcrypto_hash_sha256RRRR
R(RRR((sN/home/tvault/.virtenv/lib/python2.7/site-packages/nacl/bindings/crypto_hash.pyR+s
cC`sZtjdtƒ}tj||t|ƒƒ}t|dkddtjƒtj	|tƒS(sb
    Hashes and returns the message ``message``.

    :param message: bytes
    :rtype: bytes
    sunsigned char[]isUnexpected library errorR(
RRtcrypto_hash_sha512_BYTESRtcrypto_hash_sha512RRRR
R(RRR((sN/home/tvault/.virtenv/lib/python2.7/site-packages/nacl/bindings/crypto_hash.pyR:s
N(t
__future__RRRtnaclRRtnacl._sodiumRRtnacl.exceptionsRtcrypto_hash_sha512_bytesR	tcrypto_hash_sha256_bytesRRR
RR(((sN/home/tvault/.virtenv/lib/python2.7/site-packages/nacl/bindings/crypto_hash.pyt<module>s