getRandomValues

external fun <T : BufferSource> getRandomValues(typedArray: T): T(source)

A convenient alias for {@link webcrypto.getRandomValues}. This implementation is not compliant with the Web Crypto spec, to write web-compatible code use {@link webcrypto.getRandomValues} instead.

Since

v17.4.0

Return

Returns typedArray.