C# Class NetWrok.HTTP.RC4

Show file Open project: simonwittber/netwrok-client

Public Methods

Method Description
CryptographicallyRandomNumber ( ) : int
CryptographicallyRandomValues ( List buffer, int offset, int length ) : void
RandomNumber ( ) : int
RandomValues ( List result, int offset, int length ) : void

Private Methods

Method Description
AddRandomData ( byte data ) : void
CryptographicallyRandomValuesFromOS ( byte buffer ) : void
GetByte ( ) : byte
GetWord ( ) : int
Stir ( ) : void
StirIfNeeded ( ) : void

Method Details

CryptographicallyRandomNumber() public static method

public static CryptographicallyRandomNumber ( ) : int
return int

CryptographicallyRandomValues() public static method

public static CryptographicallyRandomValues ( List buffer, int offset, int length ) : void
buffer List
offset int
length int
return void

RandomNumber() public method

public RandomNumber ( ) : int
return int

RandomValues() public method

public RandomValues ( List result, int offset, int length ) : void
result List
offset int
length int
return void