Skip to main content

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.

ParameterTypeDescription
databyte[]

GetBytes(byte[] data)

public abstract void GetBytes(byte[] data)

No description available.

ParameterTypeDescription
databyte[]

Dispose()

public abstract void Dispose()

Releases buffered memory (the unmanaged firmware/application buffers). (inherited)