首页 > 编程语言 > 详细

c# 转 java, 强加密RNGCryptoServiceProvider

时间:2015-03-24 10:45:16      阅读:1554      评论:0      收藏:0      [点我收藏+]

.net RNGCryptoServiceProvider 对应 java SecureRandom

 

public class SecureRandomextends Random 

This class provides a cryptographically strong random number generator (RNG). Many implementations are in the form of a pseudo-random number generator (PRNG), which means they use a deterministic algorithm to produce a pseudo-random sequence from a true random seed. Other implementations may produce true random numbers and yet others may use a combination of both techniques.

 

http://docs.oracle.com/javase/1.5.0/docs/api/java/security/SecureRandom.html

 

c# 转 java, 强加密RNGCryptoServiceProvider

原文:http://www.cnblogs.com/jiahuafu/p/4361851.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!