How can I use NIST software in non-interactive way?

3976 views python
0

I am using NIST software as introduced here. This tool (written in C) has interactive mode. It gets an input file, asks user some questions about test type and parameters, and then runs the test. I want to run it on several files, so I want to automate the whole process in Python. Is there anyway to use this software in non-interactive mode?

For documentation and code: http://csrc.nist.gov/groups/ST/toolkit/rng/documentation_software.html

answered question

1 Answer

8

You can automate interactive interfaces with pexpect, which is a python library for expect. expect is also an NIST product.

posted this

Have an answer?

JD

Please login first before posting an answer.