Constructs a new ChaCha seed from a key with a stream id of 0.
- Namespace
- RandN
.Rngs - Containing Type
- ChaCha
.Seed
Syntax
public Seed(ReadOnlySpan<uint> key)Parameters
| Name | Type | Description |
|---|---|---|
| key | ReadOnlySpan| ChaCha's key. Must have a length of 8. | |
public Seed(ReadOnlySpan<uint> key)| Name | Type | Description |
|---|---|---|
| key | ReadOnlySpan| ChaCha's key. Must have a length of 8. | |