C# 클래스 SupportClass.SecureRandomSupport, csharp-ldap

This class uses a cryptographic Random Number Generator to provide support for strong pseudo-random number generation.
파일 보기 프로젝트 열기: EventStore/csharp-ldap

공개 메소드들

메소드 설명
GetSeed ( int numberOfBytes ) : byte[]

Returns the given number of seed bytes generated for the first running of a new instance of the random number generator

SecureRandomSupport ( ) : System

Initializes a new instance of the random number generator.

SecureRandomSupport ( byte seed ) : System

Initializes a new instance of the random number generator with the given seed.

SetSeed ( byte newSeed ) : void

Creates a new instance of the random number generator with the seed provided by the user

SetSeed ( long newSeed ) : void

Creates a new instance of the random number generator with the seed provided by the user

비공개 메소드들

메소드 설명
NextBytes ( byte randomnumbersarray ) : sbyte[]

메소드 상세

GetSeed() 공개 정적인 메소드

Returns the given number of seed bytes generated for the first running of a new instance of the random number generator
public static GetSeed ( int numberOfBytes ) : byte[]
numberOfBytes int Number of seed bytes to generate
리턴 byte[]

SecureRandomSupport() 공개 메소드

Initializes a new instance of the random number generator.
public SecureRandomSupport ( ) : System
리턴 System

SecureRandomSupport() 공개 메소드

Initializes a new instance of the random number generator with the given seed.
public SecureRandomSupport ( byte seed ) : System
seed byte The initial seed for the generator
리턴 System

SetSeed() 공개 메소드

Creates a new instance of the random number generator with the seed provided by the user
public SetSeed ( byte newSeed ) : void
newSeed byte Seed to create a new random number generator
리턴 void

SetSeed() 공개 메소드

Creates a new instance of the random number generator with the seed provided by the user
public SetSeed ( long newSeed ) : void
newSeed long Seed to create a new random number generator
리턴 void