Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

Commit

Permalink
Replace RNGCryptoServiceProvider with RandomNumberGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavkm committed Jul 17, 2014
1 parent e09448a commit 8b0500d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace Microsoft.AspNet.Security.Infrastructure
/// </summary>
public abstract class AuthenticationHandler : IAuthenticationHandler
{
private static readonly RNGCryptoServiceProvider CryptoRandom = new RNGCryptoServiceProvider();
private static readonly RandomNumberGenerator CryptoRandom = RandomNumberGenerator.Create();

private Task<AuthenticationTicket> _authenticate;
private bool _authenticateInitialized;
Expand Down

0 comments on commit 8b0500d

Please sign in to comment.