Forum Stats

  • 3,826,347 Users
  • 2,260,631 Discussions
  • 7,896,911 Comments

Discussions

Java 8 FIPS 140-2 compliant random number generator

en*441544*ak
en*441544*ak Member Posts: 11
edited Jun 2, 2017 2:54AM in Cryptography

I need to write a random number generator that uses an algorithm that is FIPS 140-2 compliant/certified. I am having a tough time finding anything that will work for me. Anyone done this before?

Answers

  • TKTaylor
    TKTaylor Member Posts: 9
    edited Mar 2, 2017 5:15PM

    Unfortunately, to my last knowledge the open source Java default cryptographic library (Bouncy Castle) is not FIPS 140-2 validated.  However, there are strong, Government approved algorithms implemented in Bouncy Castle, such as AES-256 for symmetric encryption, but that in and of itself, does not alone imply a validated library, of course. 

    Regards,

    TT 

  • f01139b5-2cdc-4431-8e72-24c414a7c15b
    edited Jun 2, 2017 2:54AM

    There is now a FIPS certified version of the Java Bouncy Castle Libraries available at the Legion of the Bouncy Castle website.

This discussion has been closed.