Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 468 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 468 Bytes

ANSI X9.31 PRNG based on AES 128-bit

Implementation based on NIST Specification.

Uses insecure ECB mode and even though it passes tests from NIST STS, it obviously shouldn't be used for any serious purposes.

Usage

$ pipenv install
$ pipenv run python prng.py --out /tmp/k.bin --size 1337 --seed 1111111111111111 --key 2222222222222222