Submit
Path:
~
/
/
opt
/
alt
/
python37
/
lib64
/
python3.7
/
site-packages
/
Crypto
/
Random
/
Fortuna
/
__pycache__
/
File Content:
FortunaGenerator.cpython-37.pyc
B ��c� � @ s� d Z ddlZejd dkr0ejd dkr0ddlT ddlT ddlZddlmZmZm Z ddl mZ ddlm Z dd lmZ G d d� de�ZdS )z$Id$� N� � )�*)� ceil_shift� exact_log2� exact_div)�Counter)�AES)�SHAd256c @ s^ e Zd ZdZejZdZdZed�e d Z dd� Z dd � Zd d� Zdd � Z dd� Zdd� ZdS )�AESGeneratora) The Fortuna "generator" This is used internally by the Fortuna PRNG to generate arbitrary amounts of pseudorandom data from a smaller amount of seed data. The output is generated by running AES-256 in counter mode and re-keying after every mebibyte (2**16 blocks) of output. � i � i c C sv t j| jd ddd�| _d | _t| j�| _d| j>