â–¸ getRandomValues(options): GetRandomValuesResult
description Obtaining cryptographically secure random numbers. This api is not excatly the
same as the web crypto api. But you can acheive the same goal. Check the example below.
remark supported jssdk > 4.27.0
example
Code
Parameters
| Name | Type |
|---|---|
options | GetRandomValuesOptions |
Returns
GetRandomValuesResult
Interface: GetRandomValuesOptions
| Name | Type | Description |
|---|---|---|
| length | number |
Interface: GetRandomValuesResult
| Name | Type | Description |
|---|---|---|
| randomValues | ArrayBuffer |
Was this page helpful?
Last modified on