%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/plesk/python/2.7/lib64/python2.7/site-packages/nacl/pwhash/
Upload File :
Create Path :
Current File : //opt/plesk/python/2.7/lib64/python2.7/site-packages/nacl/pwhash/argon2i.pyc

�
�֫[c@`s?ddlmZddlmZddlZddlZddlmZejZ	ej
jZej
Z
ejZejZejZejZejZejZej
jZej
jZej
jZej
jZej
jZej
jZej
j Z!ej
j"Z#ej
j$Z%ej
j&Z'e!e#ej(j)d�Z*eed�Z+dS(i(tabsolute_import(tdivisionNi(t_argon2cC`s(|jtjj|||||t��S(s�
    Derive a ``size`` bytes long key from a caller-supplied
    ``password`` and ``salt`` pair using the argon2i
    memory-hard construct.

    the enclosing module provides the constants

        - :py:const:`.OPSLIMIT_INTERACTIVE`
        - :py:const:`.MEMLIMIT_INTERACTIVE`
        - :py:const:`.OPSLIMIT_MODERATE`
        - :py:const:`.MEMLIMIT_MODERATE`
        - :py:const:`.OPSLIMIT_SENSITIVE`
        - :py:const:`.MEMLIMIT_SENSITIVE`

    as a guidance for correct settings.

    :param size: derived key size, must be between
                 :py:const:`.BYTES_MIN` and
                 :py:const:`.BYTES_MAX`
    :type size: int
    :param password: password used to seed the key derivation procedure;
                     it length must be between
                     :py:const:`.PASSWD_MIN` and
                     :py:const:`.PASSWD_MAX`
    :type password: bytes
    :param salt: **RANDOM** salt used in the key derivation procedure;
                 its length must be exactly :py:const:`.SALTBYTES`
    :type salt: bytes
    :param opslimit: the time component (operation count)
                     of the key derivation procedure's computational cost;
                     it must be between
                     :py:const:`.OPSLIMIT_MIN` and
                     :py:const:`.OPSLIMIT_MAX`
    :type opslimit: int
    :param memlimit: the memory occupation component
                     of the key derivation procedure's computational cost;
                     it must be between
                     :py:const:`.MEMLIMIT_MIN` and
                     :py:const:`.MEMLIMIT_MAX`
    :type memlimit: int
    :rtype: bytes

    .. versionadded:: 1.2
    (tencodetnacltbindingstcrypto_pwhash_algtALG(tsizetpasswordtsalttopslimittmemlimittencoder((sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/nacl/pwhash/argon2i.pytkdf9s1cC`stjj|||t�S(s�
    Hashes a password with a random salt, using the memory-hard
    argon2i construct and returning an ascii string that has all
    the needed info to check against a future password


    The default settings for opslimit and memlimit are those deemed
    correct for the interactive user login case.

    :param bytes password:
    :param int opslimit:
    :param int memlimit:
    :rtype: bytes

    .. versionadded:: 1.2
    (RRtcrypto_pwhash_str_algR(R	RR((sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/nacl/pwhash/argon2i.pytstrqs(,t
__future__RRt
nacl.bindingsRt
nacl.encodingtRt
ALG_ARGON2I13RRtcrypto_pwhash_argon2i_STRPREFIXt	STRPREFIXt	SALTBYTESt
PASSWD_MINt
PASSWD_MAXtPWHASH_SIZEt	BYTES_MINt	BYTES_MAXtverifyt"crypto_pwhash_argon2i_MEMLIMIT_MAXtMEMLIMIT_MAXt"crypto_pwhash_argon2i_MEMLIMIT_MINtMEMLIMIT_MINt"crypto_pwhash_argon2i_OPSLIMIT_MAXtOPSLIMIT_MAXt"crypto_pwhash_argon2i_OPSLIMIT_MINtOPSLIMIT_MINt*crypto_pwhash_argon2i_OPSLIMIT_INTERACTIVEtOPSLIMIT_INTERACTIVEt*crypto_pwhash_argon2i_MEMLIMIT_INTERACTIVEtMEMLIMIT_INTERACTIVEt(crypto_pwhash_argon2i_OPSLIMIT_SENSITIVEtOPSLIMIT_SENSITIVEt(crypto_pwhash_argon2i_MEMLIMIT_SENSITIVEtMEMLIMIT_SENSITIVEt'crypto_pwhash_argon2i_OPSLIMIT_MODERATEtOPSLIMIT_MODERATEt'crypto_pwhash_argon2i_MEMLIMIT_MODERATEtMEMLIMIT_MODERATEtencodingt
RawEncoderRR(((sJ/opt/plesk/python/2.7/lib64/python2.7/site-packages/nacl/pwhash/argon2i.pyt<module>s8								6

Zerion Mini Shell 1.0