Class FixedSecureRandom
Inherited Members
SecureRandom.generator
SecureRandom.Next()
SecureRandom.NextDouble()
SecureRandom.NextInt()
SecureRandom.NextLong()
Namespace: Algorand.Utils.Crypto
Assembly: Algorand.dll
Syntax
public class FixedSecureRandom : SecureRandom
Constructors
| Edit this page View SourceFixedSecureRandom(byte[])
Declaration
public FixedSecureRandom(byte[] fixedValue)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | fixedValue |
Methods
| Edit this page View SourceGenerateSeed(int)
Declaration
public override byte[] GenerateSeed(int numBytes)
Parameters
| Type | Name | Description |
|---|---|---|
| int | numBytes |
Returns
| Type | Description |
|---|---|
| byte[] |
Overrides
| Edit this page View SourceNextBytes(byte[])
Fills the elements of a specified array of bytes with random numbers.
Declaration
public override void NextBytes(byte[] bytes)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | bytes |
Overrides
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|