+
    ÆÚjF  ã                   óŽ  € ^ RI Ht ^ RIt^ RIt^ RIHt ^ RIHt ]P                  P                  t]P                  P                  t]P                  P                  t]P                  P                   t]P                  P$                  t]P                  P(                  t]^,
          t]P                  P.                  t]P                  P2                  t]P                  P6                  t]P                  P:                  t]P                  P>                  t ]P                  PB                  t"]P                  PF                  t$]P                  PJ                  t&]P                  PN                  t(]P                  PR                  t*^]$,          t+^]&,          t,](]*]PZ                  P\                  3R R llt/]$]&3R R llt0R	 R
 lt1R# )é    )ÚcastN)Ú
exceptions)Úensurec                ó”   € V ^8„  d   QhR\         R\        R\        R\         R\         R\        P                  P                  R\        /# )é   ÚsizeÚpasswordÚsaltÚopslimitÚmemlimitÚencoderÚreturn)ÚintÚbytesÚnaclÚencodingÚEncoder)Úformats   "Ú‰/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/nacl/pwhash/scrypt.pyÚ__annotate__r   ;   sa   € ÷ Xñ XÜ
ðXäðXô ðXô ð	Xô
 ðXô �]‰]×"Ñ"ðXô ñXó    c                ó°  € \        \        R\        P                  R7       \        \	        V4      \
        8H  R\
        : R\	        V4      : R2\        P                  R7       \        P                  P                  W44      w  rgpVR,           p	VP                  \        P                  P                  VV\        \        ^V,          4      VVV	V R7      4      # )aÄ  
Derive a ``size`` bytes long key from a caller-supplied
``password`` and ``salt`` pair using the scryptsalsa208sha256
memory-hard construct.


the enclosing module provides the constants

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

as a guidance for correct settings respectively for the
interactive login and the long term key protecting sensitive data
use cases.

: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
:raises nacl.exceptions.UnavailableError: If called when using a
    minimal build of libsodium.

.. versionadded:: 1.2
úNot available in minimal build©ÚraisingzThe salt must be exactly z, not z bytes long)ÚmaxmemÚdkleni   )r   Ú	AVAILABLEÚexcÚUnavailableErrorÚlenÚ	SALTBYTESÚ
ValueErrorr   ÚbindingsÚ nacl_bindings_pick_scrypt_paramsÚencodeÚ%crypto_pwhash_scryptsalsa208sha256_llr   r   )
r   r	   r
   r   r   r   Ún_log2ÚrÚpr   s
   &&&&&&    r   Úkdfr+   ;   sº   € ôr ÜØ(Ü×$Ñ$õô ÜˆD‹	”YÒç”c˜$–ið	!ä—‘õ	ô —=‘=×AÑAØó�L€Fˆqð ˜Õ€Fà�>‰>Ü�‰×;Ñ;ØØô ”�a˜•iÓ ØØØØð 	<ó 	
óð r   c                óH   € V ^8„  d   QhR\         R\        R\        R\         /# )r   r	   r   r   r   )r   r   )r   s   "r   r   r   –   s0   € ÷ ñ Üðäðô ðô ñ	r   c                ó‚   € \        \        R\        P                  R7       \        P
                  P                  WV4      # )að  
Hashes a password with a random salt, using the memory-hard
scryptsalsa208sha256 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
:raises nacl.exceptions.UnavailableError: If called when using a
    minimal build of libsodium.

.. versionadded:: 1.2
r   r   )r   r   r   r    r   r$   Ú&crypto_pwhash_scryptsalsa208sha256_str)r	   r   r   s   &&&r   Ústrr/   –   s9   € ô, ÜØ(Ü×$Ñ$õô �=‰=×?Ñ?Ø˜Hóð r   c                ó<   € V ^8„  d   QhR\         R\         R\        /# )r   Úpassword_hashr	   r   )r   Úbool)r   s   "r   r   r   ·   s!   € ÷ ñ œ%ð ¬5ð ´Tñ r   c                ó  € \        \        R\        P                  R7       \        \	        V 4      \
        8H  R\        P                  P                  ,          \        P                  R7       \        P                  P                  W4      # )a3  
Takes the output of scryptsalsa208sha256 and compares it against
a user provided password to see if they are the same

:param password_hash: bytes
:param password: bytes
:rtype: boolean
:raises nacl.exceptions.UnavailableError: If called when using a
    minimal build of libsodium.

.. versionadded:: 1.2
r   r   z/The password hash must be exactly %s bytes long)r   r   r   r    r!   ÚPWHASH_SIZEr   r$   Ú+crypto_pwhash_scryptsalsa208sha256_STRBYTESr#   Ú-crypto_pwhash_scryptsalsa208sha256_str_verify)r1   r	   s   &&r   Úverifyr7   ·   sk   € ô ÜØ(Ü×$Ñ$õô ÜˆMÓœkÑ)Ø9Ü
�-‰-×
CÑ
Cõ	Dä—‘õ	ô �=‰=×FÑFØóð r   )2Útypingr   Únacl.bindingsr   Únacl.encodingr   r   Únacl.exceptionsr   r$   r5   Ú_strbytes_plus_oneÚ&has_crypto_pwhash_scryptsalsa208sha256r   Ú,crypto_pwhash_scryptsalsa208sha256_STRPREFIXÚ	STRPREFIXÚ,crypto_pwhash_scryptsalsa208sha256_SALTBYTESr"   Ú-crypto_pwhash_scryptsalsa208sha256_PASSWD_MINÚ
PASSWD_MINÚ-crypto_pwhash_scryptsalsa208sha256_PASSWD_MAXÚ
PASSWD_MAXr4   Ú,crypto_pwhash_scryptsalsa208sha256_BYTES_MINÚ	BYTES_MINÚ,crypto_pwhash_scryptsalsa208sha256_BYTES_MAXÚ	BYTES_MAXÚ/crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MINÚMEMLIMIT_MINÚ/crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_MAXÚMEMLIMIT_MAXÚ/crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MINÚOPSLIMIT_MINÚ/crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_MAXÚOPSLIMIT_MAXÚ7crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_INTERACTIVEÚOPSLIMIT_INTERACTIVEÚ7crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_INTERACTIVEÚMEMLIMIT_INTERACTIVEÚ5crypto_pwhash_scryptsalsa208sha256_OPSLIMIT_SENSITIVEÚOPSLIMIT_SENSITIVEÚ5crypto_pwhash_scryptsalsa208sha256_MEMLIMIT_SENSITIVEÚMEMLIMIT_SENSITIVEÚOPSLIMIT_MODERATEÚMEMLIMIT_MODERATEr   Ú
RawEncoderr+   r/   r7   © r   r   Ú<module>r]      sn  ðõ ã Û Ý "Ý "à—]‘]×NÑNÐ à�M‰M×@Ñ@€	à�M‰M×FÑF€	à�M‰M×FÑF€	à�]‰]×HÑH€
Ø�]‰]×HÑH€
à  1Õ$€à�M‰M×FÑF€	Ø�M‰M×FÑF€	à�}‰}×LÑL€Ø�}‰}×LÑL€Ø�}‰}×LÑL€Ø�}‰}×LÑL€ð 	‡M�M×IÑIð ð 	‡M�M×IÑIð ð 	‡M�M×GÑGð ð 	‡M�M×GÑGð ð Ð,Õ,Ð ØÐ,Õ,Ð ð 'Ø&Ø%)§]¡]×%=Ñ%=÷Xðz )Ø(÷÷Br   