C# Class Iaik.Utils.Nonce.NonceGenerator

Static class used to generate nonces of variable length
Exibir arquivo Open project: areiter/InMemoryFuzzing

Public Methods

Method Description
GenerateByteNonce ( int length ) : byte[]

Generates a random nonce with the specified length

GenerateByteNonce ( byte nonce ) : void

Fills the specified byte array with random data

Method Details

GenerateByteNonce() public static method

Generates a random nonce with the specified length
public static GenerateByteNonce ( int length ) : byte[]
length int
return byte[]

GenerateByteNonce() public static method

Fills the specified byte array with random data
public static GenerateByteNonce ( byte nonce ) : void
nonce byte
return void