C# Class OpenStory.Server.IvGenerator

Represents an object that generates IV byte arrays.
Mostra file Open project: shoftee/OpenStory Class Usage Examples

Public Methods

Method Description
GetNewIv ( ) : byte[]

Returns a new non-zero 4-byte IV array.

IvGenerator ( RandomNumberGenerator randomNumberGenerator ) : System.Security.Cryptography

Initializes a new instance of the IvGenerator class.

Method Details

GetNewIv() public method

Returns a new non-zero 4-byte IV array.
public GetNewIv ( ) : byte[]
return byte[]

IvGenerator() public method

Initializes a new instance of the IvGenerator class.
public IvGenerator ( RandomNumberGenerator randomNumberGenerator ) : System.Security.Cryptography
randomNumberGenerator System.Security.Cryptography.RandomNumberGenerator The random number generator to use.
return System.Security.Cryptography