crypto.getRandomValues(typedArray)


crypto.webcrypto.getRandomValues() 的便捷别名。 此实现不符合 Web 加密规范,要编写与 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.