|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /lib64/python2.7/site-packages/nacl/bindings/ |
Upload File : |
�
y�\c @` s� d d l m Z m Z m Z d d l m Z d d l m Z m Z d d l
m Z e j � Z
e j � Z d � Z d � Z d S( i ( t absolute_importt divisiont print_function( t
exceptions( t ffit lib( t ensurec C` sQ t j d t � } t j | | � } t | d k d d t j �t j | t � S( s�
Computes and returns the scalar product of a standard group element and an
integer ``n``.
:param n: bytes
:rtype: bytes
s unsigned char[]i s Unexpected library errort raising(
R t newt crypto_scalarmult_BYTESR t crypto_scalarmult_baseR t exct RuntimeErrort buffert crypto_scalarmult_SCALARBYTES( t nt qt rc( ( sA /tmp/pip-install-A1qMVe/pynacl/nacl/bindings/crypto_scalarmult.pyR
s
c C` sT t j d t � } t j | | | � } t | d k d d t j �t j | 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
s unsigned char[]i s Unexpected library errorR (
R R R R t crypto_scalarmultR R R R
R ( R t pR R ( ( sA /tmp/pip-install-A1qMVe/pynacl/nacl/bindings/crypto_scalarmult.pyR , s
N( t
__future__R R R t naclR R t nacl._sodiumR R t nacl.exceptionsR t crypto_scalarmult_bytesR t crypto_scalarmult_scalarbytesR R
R ( ( ( sA /tmp/pip-install-A1qMVe/pynacl/nacl/bindings/crypto_scalarmult.pyt <module> s