C# Class Granados.RngManager.SecureRng

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

Méthodes publiques

Méthode Description
GetBytes ( byte data ) : void
GetInt ( int maxValue ) : int
SecureRng ( RNGCryptoServiceProvider rng ) : System

Method Details

GetBytes() public méthode

public GetBytes ( byte data ) : void
data byte
Résultat void

GetInt() public méthode

public GetInt ( int maxValue ) : int
maxValue int
Résultat int

SecureRng() public méthode

public SecureRng ( RNGCryptoServiceProvider rng ) : System
rng System.Security.Cryptography.RNGCryptoServiceProvider
Résultat System