function getRandomValues
Jump to headinggetRandomValues<T extends webcrypto.BufferSource>(typedArray: T): T
A convenient alias for webcrypto.getRandomValues. This implementation is not compliant with the Web Crypto spec, to write web-compatible code use webcrypto.getRandomValues instead.
Type Parameters Jump to heading
Jump to headingT extends webcrypto.BufferSource
Parameters Jump to heading
Jump to headingtypedArray: T
Return Type Jump to heading
Returns typedArray
.