+
    ^eòjÍ  ã                   ó~   € ^ RI Ht ^ RIHtHtHtHtHtHtH	t	H
t
 ^ RIHt ]! RR4      t ! R R4      tR
R	 lt^tRtR# )é    )Ú_copy_bytes)Úload_pycryptodome_raw_libÚcreate_string_bufferÚget_raw_bufferÚVoidPointerÚSmartPointerÚc_size_tÚc_uint8_ptrÚis_writeable_buffer)Úget_random_byteszCrypto.Cipher._Salsa20aþ  
                    int Salsa20_stream_init(uint8_t *key, size_t keylen,
                                            uint8_t *nonce, size_t nonce_len,
                                            void **pSalsaState);
                    int Salsa20_stream_destroy(void *salsaState);
                    int Salsa20_stream_encrypt(void *salsaState,
                                               const uint8_t in[],
                                               uint8_t out[], size_t len);
                    c                   ó>   a € ] tR t^.t o RtR tRR ltRR ltRtV t	R# )ÚSalsa20Cipherz�Salsa20 cipher object. Do not create it directly. Use :py:func:`new`
instead.

:var nonce: The nonce with length 8
:vartype nonce: byte string
c           
     óŒ  € \        V4      \        9  d   \        R\        V4      ,          4      h\        V4      ^8w  d   \        R\        V4      ,          4      h\        RRV4      V n        \        4       V n        \        P                  \        V4      \        \        V4      4      \        V4      \        \        V4      4      V P                  P                  4       4      pV'       d   \        R4      h\        V P                  P                  4       \        P                  4      V n        ^V n        \        V4      V n        R# )zIInitialize a Salsa20 cipher object

See also `new()` at the module level.z+Incorrect key length for Salsa20 (%d bytes)z-Incorrect nonce length for Salsa20 (%d bytes)Nz'Error %d instantiating a Salsa20 cipher)ÚlenÚkey_sizeÚ
ValueErrorr   Únoncer   Ú_stateÚ_raw_salsa20_libÚSalsa20_stream_initr
   r	   Ú
address_ofr   ÚgetÚSalsa20_stream_destroyÚ
block_size)ÚselfÚkeyr   Úresults   &&& ÚŒ/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/Crypto/Cipher/Salsa20.pyÚ__init__ÚSalsa20Cipher.__init__6   sø   € ô
 ˆs‹8œ8Ô#ÜÐJÌSÐQTËXÕUÓVÐVäˆu‹:˜Œ?ÜÐLÜ  ›Zõ(ó )ð )ô !  t¨UÓ3ˆŒ
ä!“mˆŒÜ!×5Ñ5Ü# CÓ(Ü ¤ S£Ó*Ü# EÓ*Ü ¤ U£Ó,ØŸ™×.Ñ.Ó0ó2ˆ÷ ÜÐFÓGÐGÜ" 4§;¡;§?¡?Ó#4Ü#3×#JÑ#JóLˆŒð ˆŒÜ˜C›ˆŽó    Nc           
     óÖ  € Vf   \        \        V4      4      pMRTp\        V4      '       g   \        R4      h\        V4      \        V4      8w  d   \	        R\        V4      ,          4      h\
        P                  V P                  P                  4       \        V4      \        V4      \        \        V4      4      4      pV'       d   \	        RV,          4      hVf   \        V4      # R# )ac  Encrypt a piece of data.

Args:
  plaintext(bytes/bytearray/memoryview): The data to encrypt, of any size.
Keyword Args:
  output(bytes/bytearray/memoryview): The location where the ciphertext
    is written to. If ``None``, the ciphertext is returned.
Returns:
  If ``output`` is ``None``, the ciphertext is returned as ``bytes``.
  Otherwise, ``None``.
Nz4output must be a bytearray or a writeable memoryviewz9output must have the same length as the input  (%d bytes)z&Error %d while encrypting with Salsa20)r   r   r   Ú	TypeErrorr   r   ÚSalsa20_stream_encryptr   r   r
   r	   r   )r   Ú	plaintextÚoutputÚ
ciphertextr   s   &&&  r   ÚencryptÚSalsa20Cipher.encryptS   sÊ   € ð Š>Ü-¬c°)«nÓ=‰JàˆJä& v×.Ò.ÜÐ VÓWÐWä�9‹~¤ V£Ô,Ü ð "0Ü25°i³.õ"Aó Bð Bô "×8Ñ8Ø)-¯©¯©Ó):Ü)4°YÓ)?Ü)4°ZÓ)@Ü)1´#°i³.Ó)Aó	Cˆ÷
 ÜÐEÈÕNÓOÐOàŠ>Ü! *Ó-Ð-ár!   c                ó–   €  V P                  WR7      #   \         d*   p\        \        T4      P                  RR4      4      hRp?ii ; i)aa  Decrypt a piece of data.

Args:
  ciphertext(bytes/bytearray/memoryview): The data to decrypt, of any size.
Keyword Args:
  output(bytes/bytearray/memoryview): The location where the plaintext
    is written to. If ``None``, the plaintext is returned.
Returns:
  If ``output`` is ``None``, the plaintext is returned as ``bytes``.
  Otherwise, ``None``.
)r&   ÚencÚdecN)r(   r   ÚstrÚreplace)r   r'   r&   Úes   &&& r   ÚdecryptÚSalsa20Cipher.decrypty   sB   € ð	;Ø—<‘< 
�<Ó:Ð:øÜô 	;ÜœS ›VŸ^™^¨E°5Ó9Ó:Ð:ûð	;ús   ‚ ”AŸ$AÁA)r   r   r   r   ©N)
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r(   r0   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r   .   s   ø‡ € ñò!ô:$÷L;ò ;r!   r   Nc                ó6   € Vf   \        ^4      p\        W4      # )aý  Create a new Salsa20 cipher

:keyword key: The secret key to use. It must be 16 or 32 bytes long.
:type key: bytes/bytearray/memoryview

:keyword nonce:
    A value that must never be reused for any other encryption
    done with this key. It must be 8 bytes long.

    If not provided, a random byte string will be generated (you can read
    it back via the ``nonce`` attribute of the returned object).
:type nonce: bytes/bytearray/memoryview

:Return: a :class:`Crypto.Cipher.Salsa20.Salsa20Cipher` object
)r   r   )r   r   s   &&r   Únewr<   Œ   s   € ð" ‚}Ü  Ó#ˆä˜Ó$Ð$r!   r2   )é   é    )ÚCrypto.Util.py3compatr   ÚCrypto.Util._raw_apir   r   r   r   r   r	   r
   r   ÚCrypto.Randomr   r   r   r<   r   r   © r!   r   Ú<module>rC      sT   ðõ2 .÷D÷ Dó Dõ +á,Ð-Eðó	Ð ÷[;ñ [;ô|%ð. €
ð ‚r!   