C# Class nHydrate.Generator.Common.Util.CryptographyUtility

Mostra file Open project: nHydrate/nHydrate Class Usage Examples

Public Methods

Method Description
GetEntropy ( int length ) : string
GetRandomBytes ( int length ) : byte[]
ZeroMemory ( byte pByte ) : void

Private Methods

Method Description
CryptographyUtility ( ) : System

Method Details

GetEntropy() public static method

public static GetEntropy ( int length ) : string
length int
return string

GetRandomBytes() public static method

public static GetRandomBytes ( int length ) : byte[]
length int
return byte[]

ZeroMemory() public static method

public static ZeroMemory ( byte pByte ) : void
pByte byte
return void