RandomNumberGenerator Class
Namespace: System.Security.Cryptography · Assembly: GHIElectronics.TinyCLR.System.Security.Cryptography
Cryptographically secure RNG. Create via Create(); do not seed manually.
public abstract class RandomNumberGenerator : IDisposable
Methods
Create()
public static RandomNumberGenerator Create()
No description available.
Returns RandomNumberGenerator
Fill(byte[] data)
public static void Fill(byte[] data)
No description available.
| Parameter | Type | Description |
|---|---|---|
data | byte[] |
GetBytes(byte[] data)
public abstract void GetBytes(byte[] data)
No description available.
| Parameter | Type | Description |
|---|---|---|
data | byte[] |
Dispose()
public abstract void Dispose()
Releases buffered memory (the unmanaged firmware/application buffers). (inherited)