Base:
method
GetBytes
System.Security.Cryptography.RandomNumberGenerator.GetBytes(System.Byte[])
40 references to GetBytes
mscorlib (20)
system\io\path.cs (1)
1098rng.GetBytes(key);
system\runtime\remoting\identity.cs (1)
198s_rng.GetBytes(randomBytes);
system\security\cryptography\descryptoserviceprovider.cs (5)
54Utils.StaticRandomNumberGenerator.GetBytes(KeyValue); 57Utils.StaticRandomNumberGenerator.GetBytes(KeyValue); 63Utils.StaticRandomNumberGenerator.GetBytes(IVValue); 87Utils.StaticRandomNumberGenerator.GetBytes(rgbKey); 101Utils.StaticRandomNumberGenerator.GetBytes(rgbIV);
system\security\cryptography\mactripledes.cs (1)
36Utils.StaticRandomNumberGenerator.GetBytes(KeyValue);
system\security\cryptography\rc2cryptoserviceprovider.cs (4)
91Utils.StaticRandomNumberGenerator.GetBytes(KeyValue); 97Utils.StaticRandomNumberGenerator.GetBytes(IVValue); 121Utils.StaticRandomNumberGenerator.GetBytes(rgbKey); 149Utils.StaticRandomNumberGenerator.GetBytes(rgbIV);
system\security\cryptography\rfc2898derivebytes.cs (1)
71Utils.StaticRandomNumberGenerator.GetBytes(salt);
system\security\cryptography\rijndaelmanagedtransform.cs (1)
449Utils.StaticRandomNumberGenerator.GetBytes(padBytes);
system\security\cryptography\tripledescryptoserviceprovider.cs (5)
48Utils.StaticRandomNumberGenerator.GetBytes(KeyValue); 51Utils.StaticRandomNumberGenerator.GetBytes(KeyValue); 58Utils.StaticRandomNumberGenerator.GetBytes(IVValue); 83Utils.StaticRandomNumberGenerator.GetBytes(rgbKey); 97Utils.StaticRandomNumberGenerator.GetBytes(rgbIV);
system\security\cryptography\utils.cs (1)
510StaticRandomNumberGenerator.GetBytes(key);
System (1)
net\System\Net\_DigestClient.cs (1)
1258RandomGenerator.GetBytes(randomBytes);
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlSecurityUtility.cs (1)
66rngCsp.GetBytes(randomBytes);
System.IdentityModel (1)
System\IdentityModel\CryptoHelper.cs (1)
1215new RNGCryptoServiceProvider().GetBytes(key);
System.Security (1)
system\security\cryptography\xml\symmetrickeywrap.cs (1)
43rng.GetBytes(rgbIV);
System.ServiceModel (3)
System\ServiceModel\Security\Tokens\DerivedKeySecurityToken.cs (2)
63rng.GetBytes(nonce); 75rng.GetBytes(nonce);
System\ServiceModel\Security\Tokens\WindowsUserNameCachingSecurityTokenAuthenticator.cs (1)
46this.random.GetBytes(salt);
System.Web (12)
Compilation\BuildManager.cs (1)
1247_rng.GetBytes(data);
Configuration\MachineKeySection.cs (4)
331RandomNumberGenerator.GetBytes(bKeysRandom); 564RandomNumberGenerator.GetBytes(iv); 1138RandomNumberGenerator.GetBytes(buf); 1139RandomNumberGenerator.GetBytes(buf2);
Configuration\RemoteWebConfigurationHostServer.cs (1)
265(new RNGCryptoServiceProvider()).GetBytes(buf);
HttpRuntime.cs (1)
1359randgen.GetBytes(bKeysRandom);
Security\ADMembershipProvider.cs (2)
2917rng.GetBytes(random); // The array is now filled with cryptographically strong random bytes. 3403(new RNGCryptoServiceProvider()).GetBytes(bSalt);
Security\FormsAuthentication.cs (1)
838randgen.GetBytes(bRandom);
Security\Membership.cs (1)
325(new RNGCryptoServiceProvider()).GetBytes(buf);
Security\SQLMembershipProvider.cs (1)
1971(new RNGCryptoServiceProvider()).GetBytes(buf);
System.Web.Extensions (1)
ClientServices\Providers\ClientFormsAuthenticationMembershipProvider.cs (1)
485(new RNGCryptoServiceProvider()).GetBytes(buf);