Show / Hide Table of Contents

RandomNumberGeneratorExt Class

Namespace: Yubico.YubiKey.Cryptography Assembly: Yubico.YubiKey.dll

Extension class to extend random number functionality.

C#
public static class RandomNumberGeneratorExt
Inheritance object RandomNumberGeneratorExt

Methods

Name Description
Fill(RandomNumberGenerator, Span<byte>)

Fill a range with random bytes.

GetByte(RandomNumberGenerator, int, int)

Get a byte with a random value.

GetInt32(RandomNumberGenerator, int, int)

Gets a random 32-bit signed int.

In this article
Back to top Generated by DocFX