crypto.getRandomValues(typedArray)


crypto.webcrypto.getRandomValues() 的一个方便别名。这个实现不符合 Web Crypto 规范,要编写 Web 兼容代码请使用 crypto.webcrypto.getRandomValues()

【A convenient alias for crypto.webcrypto.getRandomValues(). This implementation is not compliant with the Web Crypto spec, to write web-compatible code use crypto.webcrypto.getRandomValues() instead.】