45 references to Fill
aspire (1)
Certificates\CertificateGeneration\MacOSCertificateManager.cs (1)
339RandomNumberGenerator.Fill(passwordBytes.AsSpan()[0..35]);
Aspire.Hosting.Tests (1)
ExecutionConfigurationGathererTests.cs (1)
786RandomNumberGenerator.Fill(serialNumber);
dotnet-dev-certs (1)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
339RandomNumberGenerator.Fill(passwordBytes.AsSpan()[0..35]);
Microsoft.AspNetCore.Antiforgery (1)
Internal\BinaryBlob.cs (1)
82RandomNumberGenerator.Fill(data);
Microsoft.AspNetCore.Authentication (1)
RemoteAuthenticationHandler.cs (1)
231RandomNumberGenerator.Fill(bytes);
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthHandler.cs (1)
316RandomNumberGenerator.Fill(bytes);
Microsoft.AspNetCore.Components.Endpoints (1)
src\aspnetcore\src\Shared\Components\ServerComponentInvocationSequence.cs (1)
16RandomNumberGenerator.Fill(bytes);
Microsoft.AspNetCore.Components.Server (2)
Circuits\CircuitIdFactory.cs (1)
35RandomNumberGenerator.Fill(buffer);
src\aspnetcore\src\Shared\Components\ServerComponentInvocationSequence.cs (1)
16RandomNumberGenerator.Fill(bytes);
Microsoft.AspNetCore.DataProtection (2)
Managed\ManagedGenRandomImpl.cs (2)
21public void GenRandom(Span<byte> target) => RandomNumberGenerator.Fill(target); 30RandomNumberGenerator.Fill(bytes);
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
339RandomNumberGenerator.Fill(passwordBytes.AsSpan()[0..35]);
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionManager.cs (1)
113RandomNumberGenerator.Fill(buffer);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
339RandomNumberGenerator.Fill(passwordBytes.AsSpan()[0..35]);
Microsoft.AspNetCore.Session (2)
DistributedSession.cs (1)
115RandomNumberGenerator.Fill(_sessionIdBytes);
SessionMiddleware.cs (1)
74RandomNumberGenerator.Fill(guidBytes);
Microsoft.Build.Tasks.Core (1)
ManifestUtil\mansign2.cs (1)
767RandomNumberGenerator.Fill(nonce);
Microsoft.Extensions.DotNetDeltaApplier (1)
src\sdk\src\Dotnet.Watch\HotReloadAgent.Host\WebSocketTransport.cs (1)
144RandomNumberGenerator.Fill(secret);
Microsoft.Extensions.Identity.Core (2)
Base32.cs (1)
29RandomNumberGenerator.Fill(bytes);
UserManager.cs (1)
2540RandomNumberGenerator.Fill(MemoryMarshal.AsBytes(resultBuffer));
RepoTasks (1)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
339RandomNumberGenerator.Fill(passwordBytes.AsSpan()[0..35]);
System.Net.Security (3)
src\runtime\src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
264RandomNumberGenerator.Fill(contextId);
System\Net\NegotiateAuthenticationPal.ManagedNtlm.cs (2)
694RandomNumberGenerator.Fill(clientChallenge); 712RandomNumberGenerator.Fill(exportedSessionKey);
System.Net.WebSockets (1)
System\Net\WebSockets\ManagedWebSocket.cs (1)
763RandomNumberGenerator.Fill(buffer.AsSpan(offset, MaskLength));
System.Security.Cryptography (17)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CngHelpers.cs (1)
245RandomNumberGenerator.Fill(salt);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CngPkcs8.cs (1)
414RandomNumberGenerator.Fill(randomKey);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Helpers.cs (1)
96RandomNumberGenerator.Fill(destination);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (1)
199RandomNumberGenerator.Fill(salt);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
436RandomNumberGenerator.Fill(salt);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RsaPaddingProcessor.cs (2)
346RandomNumberGenerator.Fill(seed); 430RandomNumberGenerator.Fill(salt);
System\Security\Cryptography\AesImplementation.cs (1)
73RandomNumberGenerator.Fill(key);
System\Security\Cryptography\DESCryptoServiceProvider.Windows.cs (2)
24RandomNumberGenerator.Fill(key); 28RandomNumberGenerator.Fill(key);
System\Security\Cryptography\DesImplementation.cs (2)
49RandomNumberGenerator.Fill(key); 53RandomNumberGenerator.Fill(key);
System\Security\Cryptography\RandomNumberGenerator.cs (2)
320RandomNumberGenerator.Fill(remainingRandom); 340RandomNumberGenerator.Fill(remainingRandom);
System\Security\Cryptography\Rfc2898DeriveBytes.cs (1)
86RandomNumberGenerator.Fill(_salt.AsSpan(0, saltSize));
System\Security\Cryptography\SymmetricPadding.cs (1)
86RandomNumberGenerator.Fill(destination.Slice(count, padBytes - 1));
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (1)
689RandomNumberGenerator.Fill(serialNumber);
System.Security.Cryptography.Pkcs (3)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Helpers.cs (1)
96RandomNumberGenerator.Fill(destination);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (1)
199RandomNumberGenerator.Fill(salt);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
436RandomNumberGenerator.Fill(salt);