403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/passlib/crypto/scrypt/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/passlib/crypto/scrypt/__pycache__/_builtin.cpython-314.pyc
+
�THi���L�Rt^RIt^RIt^RIHt^RIHtR.t!RR4tR#)z<passlib.utils.scrypt._builtin -- scrypt() kdf in pure-pythonN)�pbkdf2_hmac)�salsa20�ScryptEnginec�va�]tRt^toRt^t^t^t^t^t	^t
^tRtRt
]R4tRtRtRtRtRtR	tVtR#)
rz�
helper class used to run scrypt kdf, see scrypt() for frontend

.. warning::
    this class does NO validation of the input ranges or types.

    it's not intended to be used directly,
    but only as a backend for :func:`passlib.utils.scrypt.scrypt()`.
Nc�4�V!W4V4PWV4#)z-create engine & run scrypt() hash calculation)�run)�cls�secret�salt�n�r�p�keylens&&&&&&&�@/usr/lib/python3/dist-packages/passlib/crypto/scrypt/_builtin.py�execute�ScryptEngine.execute)s���1��|����f�5�5�c�Daa�WnW nW0nV^,VnVPV,VnV^,;VnpV^,Vn\P!R4^8XgQh\P!R\V4,R,4VnV^8XdVPVn
VR8:d\P!R4pM<VR8:gQh\P!R4o\P!R4oVV3RlpWPnR#)	��I�<l��l����c�<<�S!V4S!V4^ ,,#)� �)�X�ig1�ig2s&��r�
integerify�)ScryptEngine.__init__.<locals>.integerifyJs����1�v��Q��2��.�.rN��i��)rrr
�
smix_bytes�iv_bytes�bmix_len�
bmix_half_len�struct�calcsize�Struct�str�bmix_struct�_bmix_1�bmix�operator�
itemgetterr)�selfrrr
r"rrrs&&&&  @@r�__init__�ScryptEngine.__init__.s�����������q�&������!�+��
�#$��6�)��
���!�V������s�#�q�(�(�(�!�=�=��s�8�}�)<�s�)B�C���
��6����D�I�
�
�?�!�,�,�S�1�J��*�*�*�*��%�%�c�*�C��%�%�c�*�C�
/�%�rc�aaa�VPp\RW^VR7oVPoVP^8Xd
S!S4pM4VPoRPVVV3Rl\
^VS444p\RW^VR7#)z�
run scrypt kdf for specified secret, salt, and keylen

.. note::

    * time cost is ``O(n * r * p)``
    * mem cost is ``O(n * r)``
�sha256)�roundsrrc3�F<"�TFpS!SWS,4x�K	R#5i�Nr)�.0�offset�input�smixr s& ���r�	<genexpr>�#ScryptEngine.run.<locals>.<genexpr>es*�����<�F��U�6�Z�$7�8�9�9�<�s�!)r!rr8r
r �join�range)	r-r	r
rr!�outputr7r8r s	&&&&  @@@rr�ScryptEngine.runOs����=�=���H�f�1�X�N���y�y���6�6�Q�;��%�[�F����J��X�X��#�A�x��<���F��8�V�A�f�M�Mrc	�aaa
�VPoVPpVPpVPo
\	VPV44oVVV
3Rlp\	V!44pVPpS
^,
p^pVS
8dpV!S4V,p	\;QJd$.R\SV!V	444FNK	5M!R\SV!V	4444p
S!V
S4V^,
pKvVP!S!#)a3run SCrypt smix function on a single input block

:arg input:
    byte string containing input data.
    interpreted as 32*r little endian 4 byte integers.

:returns:
    byte string containing output data
    derived by mixing input using n & r parameters.

.. note:: time & mem cost are both ``O(n * r)``
c3�h<"�^pVS8d$\S4pVx�S!VS4V^,
pK*R#5i)�N)�tuple)�i�lastr*�bufferrs  ���r�vgen�ScryptEngine.smix.<locals>.vgen�s8�����A��a�%��V�}���
��T�6�"��Q���	�s�/2c3�6"�TFwrW,x�K	R#5ir4r�r5�a�bs&  rr9�$ScryptEngine.smix.<locals>.<genexpr>�s���H�-G�T�Q�1�5�5�-G���)
r*r(rr�list�unpack�__getitem__rB�zip�pack)r-r7r(rrF�V�
get_v_elem�n_maskrC�j�resultr*rErs&&         @@@rr8�ScryptEngine.smixms�����y�y���&�&���_�_�
��F�F���k�(�(��/�0��	�
���L���]�]�
��Q���
���!�e��6�"�V�+�A��U�H�S���A��-G�H�U�U�H�S���A��-G�H�H�F���� �
��F�A�����(�(rc��VPpVRRp\V4p^pWc8dYV^,p\R\WE444;W&V%p\R\WE444;W#V,W7,%pTpK^R#)aj
block mixing function used by smix()
uses salsa20/8 core to mix block contents.

:arg source:
    source to read from.
    should be list of 32*r 4-byte integers
    (2*r salsa20 blocks).

:arg target:
    target to write to.
    should be list with same size as source.
    the existing value of this buffer is ignored.

.. warning::

    this operates *in place* on target,
    so source & target should NOT be same list.

.. note::

    * time cost is ``O(r)`` -- loops 16*r times, salsa20() has ``O(1)`` cost.

    * memory cost is ``O(1)`` -- salsa20() uses 16 x uint4,
      all other operations done in-place.
Nc3�6"�TFwrW,x�K	R#5ir4rrIs&  rr9�$ScryptEngine.bmix.<locals>.<genexpr>�s���(K�?�4�1����?�rMc3�6"�TFwrW,x�K	R#5ir4rrIs&  rr9r[�s���9�"1�$�!����/�rMr)r#�iterrrQ)r-�source�target�half�tmp�siterrV�jns&&&     rr*�ScryptEngine.bmix�s���<�!�!���S�T�l���V���
���h��R��B�!(�(K�3�s�?�(K�!K�K�F�R�L�3�18�9�"%�c�/�9�2�
�F�!�8�d�i�(�3��A�
rc	��VR,p\R\V\V4444;VR&p\R\WC444VR&R#)z0special bmix() method optimized for ``r=1`` case:�NNc3�6"�TFwrW,x�K	R#5ir4rrIs&  rr9�'ScryptEngine._bmix_1.<locals>.<genexpr>�s���#K�6J�d�a�A�E�E�6J�rM:NrfNc3�6"�TFwrW,x�K	R#5ir4rrIs&  rr9rh�s���<����a�e�e��rMN)rrQr])r-r^r_�Bras&&&  rr)�ScryptEngine._bmix_1�sG���3�K��#�#K�c�!�T�&�\�6J�#K�K�K��s��c��<��C��<�<��s�r)
r*r#r"r(rr!rr
rr )�__name__�
__module__�__qualname__�__firstlineno__�__doc__rrr
r r!r"r#r(r�classmethodrr.rr8r*r)�__static_attributes__�__classdictcell__)�
__classdict__s@rrrso�����	
�A�	�A�	�A��J��H��H��M��K��J��6��6�%�BN�<?)�B(�T=�=r)	rpr+r$�passlib.crypto.digestr�passlib.crypto.scrypt._salsar�__all__rrrr�<module>rxs0��B��
�.�0����
K=�K=r

Youez - 2016 - github.com/yon3zu
LinuXploit