C# 클래스 StopGuessing.EncryptionPrimitives.StrongRandomNumberGenerator

A utility interface to .NET's cryptographically-strong random number generator (the interface we which .NET provided)
파일 보기 프로젝트 열기: Microsoft/StopGuessing 1 사용 예제들

공개 메소드들

메소드 설명
Get32Bits ( int mod ) : uint
Get32Bits ( uint mod = null ) : uint
Get64Bits ( long mod ) : ulong
Get64Bits ( ulong mod = null ) : ulong
GetBytes ( int count ) : byte[]
GetBytes ( byte bytes ) : void
GetFraction ( ) : double

메소드 상세

Get32Bits() 공개 정적인 메소드

public static Get32Bits ( int mod ) : uint
mod int
리턴 uint

Get32Bits() 공개 정적인 메소드

public static Get32Bits ( uint mod = null ) : uint
mod uint
리턴 uint

Get64Bits() 공개 정적인 메소드

public static Get64Bits ( long mod ) : ulong
mod long
리턴 ulong

Get64Bits() 공개 정적인 메소드

public static Get64Bits ( ulong mod = null ) : ulong
mod ulong
리턴 ulong

GetBytes() 공개 정적인 메소드

public static GetBytes ( int count ) : byte[]
count int
리턴 byte[]

GetBytes() 공개 정적인 메소드

public static GetBytes ( byte bytes ) : void
bytes byte
리턴 void

GetFraction() 공개 정적인 메소드

public static GetFraction ( ) : double
리턴 double