%PDF- %PDF-
Direktori : /lib/python3/dist-packages/reportlab/lib/__pycache__/ |
Current File : //lib/python3/dist-packages/reportlab/lib/__pycache__/arciv.cpython-312.pyc |
� ��dh � �* � d Z dj � ZdZddlmZ G d� d� Zdddd �dd dd �d d dd �d ddd �dddd �gZd� Zd� Z e dk( rIdZeD ]A Z eed � j ed � Z eed � j ed � Z edz Z�C yy)z Arciv Stream ciphering zArcIV encode decodez1.0� )� isUnicodec �( � e Zd ZdZd� Zd� Zd� Zd� Zy)�ArcIVz� performs 'ArcIV' Stream Encryption of S using key Based on what is widely thought to be RSA's ArcIV algorithm. It produces output streams that are identical. NB there is no separate decoder arciv(arciv(s,key),key) == s c �2 � || _ | j � y )N)�_key�reset)�self�keys �5/usr/lib/python3/dist-packages/reportlab/lib/arciv.py�__init__zArcIV.__init__ s � ��$�)��*�*�,� c �x � | j }t |� r|j d� }t t d� � }t t d� � }t |� }|D ] }|||z dz ||<