项目作者: C2yp71c

项目描述 :
Testing PRNGs with RNNs
高级语言: Python
项目地址: git://github.com/C2yp71c/RNN-Tester.git
创建时间: 2018-07-25T07:56:52Z
项目社区:https://github.com/C2yp71c/RNN-Tester

开源协议:GNU General Public License v3.0

下载


RNN Tester

This is the implementation base on the content of the paper\
Testing Cryptographically Secure Pseudo Random Number Generators with
Artificial Neural Networks
.\
The python3 program rnn_tester evaluates (cryptographically
secure) pseudo random generators with AI.

Build

To build the project the python package build is required

  1. python3 -m pip install --upgrade build

To build a package use

  1. python3 -m build

Install

The tool requires the programm
dieharder
for statistical analysis of the results. Install the tool first.

  • Debian/Ubuntu:

    sudo apt-get install dieharder

  • Fedora:

    sudo dnf install dieharder

Install the tool with

  1. pip install ./dist/rnn_tester-<version>-py3-none-any.whl

Usage

The tool rnn_tester requires a binary file containing the result of an PRNG in <path-to-rng-file>.
Use

  1. python3 rnn_tester [options] -i <path-to-rng-file>

to test your random numbers.

Testing

The folder test contains all unit test.
All tests including statistical code analysis could be execute with

  1. tox -r