英文:
Is there a Java 8 implementation of a random generator supporting NIST standards?
问题
我正在尝试安全地生成随机数。它必须支持NIST标准,即NIST SP 800-90A、SP 800-90B和SP 800-90C。我已经阅读到Java 9具有支持这些标准的SecureRandom
实现。
我的问题是:在Java 8中(我正在使用Android),是否有支持这些标准的实现?理想情况下,我希望它是内置的,否则您有什么建议?
英文:
I am trying to securely generate random numbers. It must support NIST standards, that is NIST SP 800-90A, SP 800-90B, SP 800-90C. I've read that Java 9 has an implementation of SecureRandom
supporting such standards.
My question is: is there an implementation supporting these standards in Java 8 (I am using Android)? Ideally I would like it to be built-in but otherwise what would you advise?
答案1
得分: 2
如果我正确地阅读了 David Hook 所著的《The Bouncy Castle FIPS Java API in 100 Examples》(第12页),那么 Bouncy Castle 的 FIPS 版本提供了 NIST SP 800-90A 中描述的 3 种 DRBG 实现。
您可以在这里找到有关 Bouncy Castle Java FIPs 项目的更多信息:链接。
其他经过 FIPS 认证的 JCSE 提供商实现可能也支持此功能。(我尚未进行调查...)
英文:
If I am reading "The Bouncy Castle FIPS Java API in 100 Examples" by David Hook (page 12) correctly, the FIPS release of Bouncy Castle provides implementations of the 3 DRBGs described in NIST SP 800-90A.
You can find more information about the Bouncy Castle Java FIPs project here.
Other FIPS certified JCSE provider implementations may also support this. (I have not investigated ...)
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论