Skip to content

Implementation of NIST recommended PRNG ANSI X9.31 using 128-bit AES

Notifications You must be signed in to change notification settings

janmasarik/AES_ANSI_x9.31

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Implementation of NIST recommended PRNG ANSI X9.31 using 128-bit AES

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages