C# Class Granados.RngManager.SecureRng

implementation of Rng
An instance returned should be used in the same thread.
Inheritance: Rng
Exibir arquivo Open project: poderosaproject/poderosa

Public Methods

Method Description
GetBytes ( byte data ) : void
GetInt ( int maxValue ) : int
SecureRng ( RNGCryptoServiceProvider rng ) : System

Method Details

GetBytes() public method

public GetBytes ( byte data ) : void
data byte
return void

GetInt() public method

public GetInt ( int maxValue ) : int
maxValue int
return int

SecureRng() public method

public SecureRng ( RNGCryptoServiceProvider rng ) : System
rng System.Security.Cryptography.RNGCryptoServiceProvider
return System