Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/Cryptodome/Cipher/__pycache__/PKCS1_v1_5.cpython-39.pyc
Ðазад
a c�h+ � @ s\ d dgZ ddlmZmZmZ ddlmZmZ ddlZddlm Z G dd� d�Z d dd �ZdS ) �new�PKCS115_Cipher� )�ceil_div� bytes_to_long� long_to_bytes)�bord�_copy_bytesN)�Randomc @ s8 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� ZdS ) r z�This cipher can perform PKCS#1 v1.5 RSA encryption or decryption. Do not instantiate directly. Use :func:`Cryptodome.Cipher.PKCS1_v1_5.new` instead.c C s || _ || _dS )aJ Initialize this PKCS#1 v1.5 cipher object. :Parameters: key : an RSA key object If a private half is given, both encryption and decryption are possible. If a public half is given, only encryption is possible. randfunc : callable Function that returns random bytes. N)�_key� _randfunc)�self�key�randfunc� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/Cryptodome/Cipher/PKCS1_v1_5.py�__init__"