C# Class GSF.Security.NonceGenerator

Used to generate Nonce values.
显示文件 Open project: GridProtectionAlliance/openHistorian

Public Methods

Method Description
Next ( ) : byte[]

Gets the next nonce value.

NonceGenerator ( int length ) : System

Creates a nonce generator of the specified length.

Method Details

Next() public method

Gets the next nonce value.
public Next ( ) : byte[]
return byte[]

NonceGenerator() public method

Creates a nonce generator of the specified length.
public NonceGenerator ( int length ) : System
length int the size of each nonce. Must be at least 16 bytes.
return System