%PDF- %PDF-
Direktori : /lib/python3/dist-packages/reportlab/lib/__pycache__/ |
Current File : //lib/python3/dist-packages/reportlab/lib/__pycache__/pdfencrypt.cpython-312.pyc |
� ��d�w � � � d Z ddlZddlZddlmZmZ ddlmZ ddlm Z ddl mZmZm Z mZ ddlmZ ddlmZ dd lmZ dd lmZ ddlZddlmZ d� ZdZdZej: Zd ZdZ dZ!dZ"dZ#dZ$dZ% e&dd� D ] Z'e%d e'z z Z%� ejP rda)dZ*d� Z+nejX Z+ G d� d� Z- G d� de� Z.dZ/d� Z0d� Z1 e dje d� e/jg � ji � D � � � Z5d � Z6d4d!�Z7d"� Z8e5ddfd#�Z9d$� Z:d4d%�Z;d&� Z<d'� Z= d5d(�Z> G d)� d*e-e� Z? d5d+�Z@ d5d,�ZA d5d-�ZBd.� ZCd/� ZDeEd0k( rsej� D � cg c] } | dd1 d2k( s�| �� c} ZGeGr0ej� D � cg c] } | dd1 d2k7 s�| �� c} e_F eHeG� Zd3ej� v r e=� y eD� yy# e$ r dZY ��}w xY wc c} w c c} w )6z3.3.0� N)�hexlify� unhexlify)�md5)�BytesIO)�asBytes�int2Byte�rawBytes�asNative)�Canvas)� PDFObject)�Flowable)� rl_config)�sha256c �: � � � dk( r|S t � fd�|D � � S )z9xor's each byte of the key with the number, which is <256r c 3 �( �K � | ] }�|z �� � y �w�N� )�.0�k�nums ��:/usr/lib/python3/dist-packages/reportlab/lib/pdfencrypt.py� <genexpr>zxorKey.<locals>.<genexpr> s �� �� �$�1��Q��$�s �)�bytes)r �keys ` r �xorKeyr s �� � �A�v�c�z��$��$�$�$� � � � � � � � � s ��ܫovp��\C��B~���Eg8�f�Sj'y�G�Y��-�Q����L>��i�Ĵ'�k��p�ͪ�|��� ��Ǘ�;��,������\H} ܅��>|ŗ�T�T���!�+E#��O�j�"�ˌHB�B~�7��1.ש �2}��m�3�/�W���K�;?�#�`W��입����#�������z��O��(z����i��! |w,�I�_D`A�}+r-%F(@�\cL2(��BM��UG������c � � t | � D �cg c] }t |t z dz �� }}t |� }t | z dz a|S c c}w )N� )�range�_os_random_b�_os_random_xr )�n�i�bs r � os_urandomr- 0 sJ � �9>�q��B�A�\�1�\�>�3�.� /�B��B��!�H��$�q�(�C�/����� Cs �Ac �>