C# Class TwoFactorAuthNet.Providers.Rng.PrngProvider

Provides a non-cryptographically secure RNG provider.
The PrngProvider is based on a simple PRNG.
Inheritance: IRngProvider
Show file Open project: RobThree/TwoFactorAuth.Net

Public Methods

Method Description
GetRandomBytes ( int bytes ) : byte[]

Fills an array of bytes with a sequence of random values.

Method Details

GetRandomBytes() public method

Fills an array of bytes with a sequence of random values.
public GetRandomBytes ( int bytes ) : byte[]
bytes int The desired number of bytes to return.
return byte[]