C# Класс Iaik.Utils.Nonce.NonceGenerator

Static class used to generate nonces of variable length
Показать файл Открыть проект

Открытые методы

Метод Описание
GenerateByteNonce ( int length ) : byte[]

Generates a random nonce with the specified length

GenerateByteNonce ( byte nonce ) : void

Fills the specified byte array with random data

Описание методов

GenerateByteNonce() публичный статический Метод

Generates a random nonce with the specified length
public static GenerateByteNonce ( int length ) : byte[]
length int
Результат byte[]

GenerateByteNonce() публичный статический Метод

Fills the specified byte array with random data
public static GenerateByteNonce ( byte nonce ) : void
nonce byte
Результат void