@textile/hub > ThreadKey > fromRandom
ThreadKey.fromRandom() method
Create a new set of keys.
Signature:
static fromRandom(withRead?: boolean): ThreadKey;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| withRead | boolean | Whether to also include a random read key. | 
Returns: