Xecrets.Slip39.StrongRandom.md
May 26, 2026 ยท View on GitHub
Xecrets.Slip39
Xecrets.Slip39
StrongRandom Class
An IRandom implementation using System.Security.Cryptography.RandomNumberGenerator.
public class StrongRandom : Xecrets.Slip39.IRandom
Inheritance System.Object โ StrongRandom
Implements IRandom
Methods
StrongRandom.GetBytes(byte[]) Method
Fill the provided buffer with random byte values.
public void GetBytes(byte[] buffer);
Parameters
buffer System.Byte[]
The buffer to fill.
Implements GetBytes(byte[])
StrongRandom.GetBytes(int) Method
Get a System.Byte[] with random bytes.
public byte[] GetBytes(int count);
Parameters
count System.Int32
The number of random bytes to get.
Implements GetBytes(int)
Returns
System.Byte[]
A System.Byte[] with random bytes.