ok

Mini Shell

Direktori : /lib/python2.7/site-packages/setuptools/_backport/hashlib/
Upload File :
Current File : //lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyc

�
b-�Qc@sdZddlZdZdZd�Zd�Zd�Zd�Zd	�Zd
�Z	d�Z
d�Zd
�Zd�Z
d�Zd�Zd�Zd�Zd�Zd�Zdefd��YZdefd��YZedkr{dZe�j�dkst�ee�j�dks%t�eed�j�dksGt�ee�Zeje�ej�dks{t�ndS( s4
This code was Ported from CPython's sha512module.c
i����Ni�i@cCs<idgdd6dd6dd6dgtd6dd6dd6S(	Niitdigesttcount_lotcount_hitdatatlocalt
digestsize(t
SHA_BLOCKSIZE(((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyt
new_shaobjectscCs$|d@|d@?|d|d@>Bd@S(Nl����i?i@((txty((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyt<lambda>scCs||||A@AS(N((RR	tz((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyR
scCs||B|@||@BS(N((RR	R((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyR
scCs
t||�S(N(tROR64(Rtn((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyR
scCs|d@|?S(Nl����((RR
((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyR
scCs't|d�t|d�At|d�AS(Nii"i'(tS(R((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyR
scCs't|d�t|d�At|d�AS(Niii)(R(R((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyR
scCs't|d�t|d�At|d�AS(Niii(RtR(R((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyR
scCs't|d�t|d�At|d�AS(Nii=i(RR(R((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyR
scs&g�|d}x�tdd�D]�}�j|d|d>|d|dd>|d|dd	>|d|d
d>|d|dd
>|d|dd>|d|dd>|d|d�q Wx`tdd�D]O}�jt�|d��|dt�|d��|dd@�q�W|d}�fd�}||d|d|d|d
|d|d|d|ddd�
\|d
<|d<||d|d|d|d|d
|d|d|ddd�
\|d<|d<||d|d|d|d|d|d
|d|ddd�
\|d<|d<||d|d|d|d|d|d|d
|dd
d�
\|d<|d<||d|d|d|d|d|d|d|d
dd�
\|d<|d
<||d
|d|d|d|d|d|d|ddd�
\|d<|d<||d|d
|d|d|d|d|d|ddd�
\|d<|d<||d|d|d
|d|d|d|d|ddd�
\|d<|d<||d|d|d|d
|d|d|d|ddd�
\|d
<|d<||d|d|d|d|d
|d|d|ddd �
\|d<|d<||d|d|d|d|d|d
|d|dd!d"�
\|d<|d<||d|d|d|d|d|d|d
|dd#d$�
\|d<|d<||d|d|d|d|d|d|d|d
d%d&�
\|d<|d
<||d
|d|d|d|d|d|d|dd'd(�
\|d<|d<||d|d
|d|d|d|d|d|dd)d*�
\|d<|d<||d|d|d
|d|d|d|d|ddd+�
\|d<|d<||d|d|d|d
|d|d|d|ddd,�
\|d
<|d<||d|d|d|d|d
|d|d|dd-d.�
\|d<|d<||d|d|d|d|d|d
|d|dd/d0�
\|d<|d<||d|d|d|d|d|d|d
|dd1d2�
\|d<|d<||d|d|d|d|d|d|d|d
d3d4�
\|d<|d
<||d
|d|d|d|d|d|d|dd5d6�
\|d<|d<||d|d
|d|d|d|d|d|dd7d8�
\|d<|d<||d|d|d
|d|d|d|d|dd9d:�
\|d<|d<||d|d|d|d
|d|d|d|dd
d;�
\|d
<|d<||d|d|d|d|d
|d|d|dd<d=�
\|d<|d<||d|d|d|d|d|d
|d|dd>d?�
\|d<|d<||d|d|d|d|d|d|d
|dd@dA�
\|d<|d<||d|d|d|d|d|d|d|d
dBdC�
\|d<|d
<||d
|d|d|d|d|d|d|ddDdE�
\|d<|d<||d|d
|d|d|d|d|d|ddFdG�
\|d<|d<||d|d|d
|d|d|d|d|ddHdI�
\|d<|d<||d|d|d|d
|d|d|d|dddJ�
\|d
<|d<||d|d|d|d|d
|d|d|ddKdL�
\|d<|d<||d|d|d|d|d|d
|d|ddMdN�
\|d<|d<||d|d|d|d|d|d|d
|ddOdP�
\|d<|d<||d|d|d|d|d|d|d|d
dQdR�
\|d<|d
<||d
|d|d|d|d|d|d|ddSdT�
\|d<|d<||d|d
|d|d|d|d|d|ddUdV�
\|d<|d<||d|d|d
|d|d|d|d|ddWdX�
\|d<|d<||d|d|d|d
|d|d|d|dd	dY�
\|d
<|d<||d|d|d|d|d
|d|d|ddZd[�
\|d<|d<||d|d|d|d|d|d
|d|dd\d]�
\|d<|d<||d|d|d|d|d|d|d
|dd^d_�
\|d<|d<||d|d|d|d|d|d|d|d
d`da�
\|d<|d
<||d
|d|d|d|d|d|d|ddbdc�
\|d<|d<||d|d
|d|d|d|d|d|dddde�
\|d<|d<||d|d|d
|d|d|d|d|ddfdg�
\|d<|d<||d|d|d|d
|d|d|d|dddh�
\|d
<|d<||d|d|d|d|d
|d|d|ddidj�
\|d<|d<||d|d|d|d|d|d
|d|ddkdl�
\|d<|d<||d|d|d|d|d|d|d
|ddmdn�
\|d<|d<||d|d|d|d|d|d|d|d
dodp�
\|d<|d
<||d
|d|d|d|d|d|d|ddqdr�
\|d<|d<||d|d
|d|d|d|d|d|ddsdt�
\|d<|d<||d|d|d
|d|d|d|d|ddudv�
\|d<|d<||d|d|d|d
|d|d|d|dddw�
\|d
<|d<||d|d|d|d|d
|d|d|ddxdy�
\|d<|d<||d|d|d|d|d|d
|d|ddzd{�
\|d<|d<||d|d|d|d|d|d|d
|dd|d}�
\|d<|d<||d|d|d|d|d|d|d|d
d~d�
\|d<|d
<||d
|d|d|d|d|d|d|dd�d��
\|d<|d<||d|d
|d|d|d|d|d|dd�d��
\|d<|d<||d|d|d
|d|d|d|d|dd�d��
\|d<|d<||d|d|d|d
|d|d|d|dd�d��
\|d
<|d<||d|d|d|d|d
|d|d|dd�d��
\|d<|d<||d|d|d|d|d|d
|d|dd�d��
\|d<|d<||d|d|d|d|d|d|d
|dd�d��
\|d<|d<||d|d|d|d|d|d|d|d
d�d��
\|d<|d
<||d
|d|d|d|d|d|d|dd�d��
\|d<|d<||d|d
|d|d|d|d|d|dd�d��
\|d<|d<||d|d|d
|d|d|d|d|dd�d��
\|d<|d<||d|d|d|d
|d|d|d|dd�d��
\|d
<|d<||d|d|d|d|d
|d|d|dd�d��
\|d<|d<||d|d|d|d|d|d
|d|dd�d��
\|d<|d<||d|d|d|d|d|d|d
|dd�d��
\|d<|d<||d|d|d|d|d|d|d|d
d�d��
\|d<|d
<||d
|d|d|d|d|d|d|dd�d��
\|d<|d<||d|d
|d|d|d|d|d|dd�d��
\|d<|d<||d|d|d
|d|d|d|d|dd�d��
\|d<|d<g}x7t|d�D]%\}}|j|||d@�q�W||d<dS(�NRiiii8ii0ii(ii iiiiiiPil����Rc
s~|t|�t|||�|	�|d@}
t|�t|||�d@}||
d@}|
|d@}|d@|d@fS(Nl����(tSigma1tChtSigma0tMaj(tatbtctdtetftgthtitkitt0tt1(tW(sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pytRND+s
0 I"�(ט/�BI�e�#�D7ql/;�X?o.l�[�n�MI8�H�[�V9I����Yl�O2^�
�	l�4W{�X
lBFb*=@
i	I�opE[�i
I���N��1$iI���}UiIo�{�t]�ri
l�-v�G�il5�K��^	l�&��E�l�J�='�$il�%�p�}iI�Ռ�Ɲ�iIe��w̡$iIu+Yo,�-iI��n��tJiI�A�ܩ�\iI�S�ڈ�vl�_�\KE�A	il2h[��A
il?!�1"il��}�zil�Q{�/7il%'&E<-
iIo��Qc�iIpn
g))I�/�F�
�'i!I&�&\8!.i"I�*�Z�m,Mi#I߳��
8Si$I�c��Ts
ei%I��w<�
jvi&l�.��$i'l;5)2�	ld��"�
i)l0�x.�@
i*l��!�-\i+l0>��Fb;i,lR�-g �
i-l)�*��4
i.l* �.Vq i/I�ѻ2p�jI��Ҹ��i1IS�AQl7i2I���LwH'i3I�H�ᵼ�4i4IcZ�ų9i5IˊA�J��Ni6Is�cwOʜ[i7I�����o.hI���]ti9I`/Coc�xi:lr+�CR`C&i;l�9�4 8fi<l(�F��	i=l�==�3�"
i>ly�e��wi?l+S�F�c�3i@l�aLT;{9QiAlB�Cc5
iBlk��ViClxQ�\�=�+iDI�or�g�iEI��Ȣ�}c
iFI�
���?iGIG5qiHI�}#�w�(iII�$�@{��2iJI���
��<iKIL
��gCiLI�B>˾��LiMI*~e��)YiNI��:�o�_iOIXGJ�Dl(txrangetappendtGamma1tGamma0t	enumerate(tsha_infoRRtssR!tdigR((R sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyt
sha_transforms�
�MUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUcCsWt�}ddddddddg|d	<d
|d<d
|d<d
|d
<d|d<|S(NIɼ�g�	jl;'�	:=[I+���r�n<l�6:>�T*
Iт�RQll|V0"+X	Ik�A��كIy!~��[RiRRRi@R(R(R'((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pytsha_init�s	"



cCsWt�}ddddddddg|d	<d
|d<d
|d<d
|d
<d|d<|S(Nl�wu�]I�|6*)�bl]�`h�
	I9Y���/I1��g&3gl�P*�ul��I58aX
I�O��H�GRiRRRi0R(R(R'((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pytsha384_init�s	"



cCs:t|t�r|St|t�r,t|�St|�SdS(N(t
isinstancetstrtunicodetbuffer(ts((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pytgetbuf�s

c	Cs�t|�}d}|d|d>d@}||dkrK|dcd7<n||d<|dc|d?7<|dr8t|d}||kr�|}nxMt||||!�D]4}tjd	|d�d|d
|d|d<q�W||8}||7}|dc|7<|dtkr1t|�d|d<q8dSnxf|tkr�g|||t!D]}tjd	|�d^qY|d
<|t8}|t7}t|�q;W|d}g||||!D]}tjd	|�d^q�|d
|||+||d<dS(NiRiI����RiiRtBR(tlenRR&tstructtunpackR*(	R'R0tcountt
buffer_idxtcloRRRtpos((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyt
sha_update�s8

	2



8


CcCsv|d}|d}|d?d@}d|d|<|d7}|tdkr�|d| d	gt||d<t|�d	gt|d<n!|d| d	gt||d<d	|dd
<d	|dd<d	|dd<d	|dd
<d	|dd<d	|dd<d	|dd<d	|dd<|d?d@|dd<|d?d@|dd<|d?d@|dd<|d	?d@|dd<|d?d@|dd<|d?d@|dd<|d?d@|dd<|d	?d@|dd<t|�g}xs|dD]g}|j|d?d@|d?d@|d?d@|d ?d@|d?d@|d?d@|d?d@|d@g�q�Wd!jg|D]}t|�^q]�S("NRRiii�Riiiipiqirisitiuiviwii�ixiyiizi{i|i}i~Ri8i0i(i t(RR*textendtjointchr(R'tlo_bit_countthi_bit_countR7R)R((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyt	sha_final�s>


!
!
etsha512cBsHeZeZZeZdd�Zd�Z	d�Z
d�Zd�ZRS(cCs/t�|_|r+t|jt|��ndS(N(R+t_shaR;R2(tselfR1((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyt__init__�scCst|jt|��dS(N(R;RDR2(RER1((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pytupdate�scCst|jj��|jd S(NR(RBRDtcopy(RE((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyR�scCs0djg|j�D]}dt|�^q�S(NR<s%.2x(R>Rtord(RER((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyt	hexdigestscCs%tjt�}|jj�|_|S(N(RCt__new__RDRH(REtnew((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyRHsN(
t__name__t
__module__tSHA_DIGESTSIZEtdigest_sizeRRt
block_sizetNoneRFRGRRJRH(((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyRC�s
			tsha384cBs'eZdZZdd�Zd�ZRS(i0cCs/t�|_|r+t|jt|��ndS(N(R,RDR;R2(RER1((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyRF
scCs%tjt�}|jj�|_|S(N(RSRKRDRH(RERL((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyRHsN(RMRNRPRRRRFRH(((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyRS
s
t__main__sjust a test stringt�cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3et�68be4c6664af867dd1d01c8d77e963d87d77b702400c8fabae355a41b8927a5a5533a7f1c28509bbd65c5f3ac716f33be271fbda0ca018b71a84708c9fae8a53it�3233acdbfcfff9bff9fc72401d31dbffa62bd24e9ec846f0578d647da73258d9f0879f7fde01fe2cc6516af3f343807fdef79e23d696c923d79931db46bf1819t�341aeb668730bbb48127d5531115f3c39d12cb9586a6ca770898398aff2411087cfe0b570689adf328cddeb1f00803acce6737a19f310b53bbdb0320828f75bb(t__doc__R5RRORRRRRRRRR%R$R*R+R,R2R;RBtobjectRCRSRMta_strRJtAssertionErrorR1RG(((sH/usr/lib/python2.7/site-packages/setuptools/_backport/hashlib/_sha512.pyt<module>s:	
										i						)	(
"


Zerion Mini Shell 1.0