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_scalarmult.pyc
Size: Mime:
ó
ۍEYc@`s€ddlmZmZmZddlmZddlmZm	Z	ddl
mZe	jƒZ
e	jƒZd„Zd„ZdS(i(tabsolute_importtdivisiontprint_function(t
exceptions(tffitlib(tensurecC`sQtjdtƒ}tj||ƒ}t|dkddtjƒtj|t	ƒS(sŽ
    Computes and returns the scalar product of a standard group element and an
    integer ``n``.

    :param n: bytes
    :rtype: bytes
    sunsigned char[]isUnexpected library errortraising(
Rtnewtcrypto_scalarmult_BYTESRtcrypto_scalarmult_baseRtexctRuntimeErrortbuffertcrypto_scalarmult_SCALARBYTES(tntqtrc((sT/home/tvault/.virtenv/lib/python2.7/site-packages/nacl/bindings/crypto_scalarmult.pyR
s
cC`sTtjdtƒ}tj|||ƒ}t|dkddtjƒtj|t	ƒS(s¡
    Computes and returns the scalar product of the given group element and an
    integer ``n``.

    :param p: bytes
    :param n: bytes
    :rtype: bytes
    sunsigned char[]isUnexpected library errorR(
RRR	Rtcrypto_scalarmultRRRR
R(RtpRR((sT/home/tvault/.virtenv/lib/python2.7/site-packages/nacl/bindings/crypto_scalarmult.pyR,s	
N(t
__future__RRRtnaclRRtnacl._sodiumRRtnacl.exceptionsRtcrypto_scalarmult_bytesR	tcrypto_scalarmult_scalarbytesRR
R(((sT/home/tvault/.virtenv/lib/python2.7/site-packages/nacl/bindings/crypto_scalarmult.pyt<module>s