#RNGCryptoServiceProvider

C# 产生真随机数(RNGCryptoServiceProvider)

publicstaticstringGenerate(stringdictionary,intlength){stringresult="";RNGCryptoServiceProviderrng=newRNGCryptoServiceProvider();byte[]data=newbyte[8];intmax=di...