Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
TwoFactorAuthNet
Providers
Rng
PrngProvider
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[]