有没有支持NIST标准的Java 8随机生成器实现?

huangapple go评论81阅读模式
英文:

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 ...)

huangapple
  • 本文由 发表于 2020年10月8日 21:05:12
  • 转载请务必保留本文链接:https://go.coder-hub.com/64263170.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定