RandomNumberGeneratorExt Class
Namespace: Yubico.YubiKey.Cryptography Assembly: Yubico.YubiKey.dllExtension 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. |