RandomLib icon indicating copy to clipboard operation
RandomLib copied to clipboard

Does this string generator meet ANS X9.31 A.2.4 requirements?

Open nimasdj opened this issue 10 years ago • 2 comments

@ircmaxell generate strings returns outputs human readable, if I pack() it to binary, does it meet ANS X9.31 A.2.4 requirements to be used as IV or CPRNG?

nimasdj avatar Jan 09 '16 19:01 nimasdj

No, ANSI X9.31 has other requirements that are quite specific.

http://www.untruth.org/~josh/security/ansi931rng.PDF

ircmaxell avatar Jan 09 '16 22:01 ircmaxell

Hi,

Would consider to add CPRNG class to this lib to generate ANSI X.9 31 without any need to mcrypt and openssl?

nimasdj avatar Jan 10 '16 07:01 nimasdj