diff options
Diffstat (limited to 'doc/api/crypto.md')
-rw-r--r-- | doc/api/crypto.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md index e5b83eb4ff5..470c8f66418 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -4139,7 +4139,9 @@ added: v17.4.0 * `typedArray` {Buffer|TypedArray|DataView|ArrayBuffer} * Returns: {Buffer|TypedArray|DataView|ArrayBuffer} Returns `typedArray`. -A convenient alias for [`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. ### `crypto.hkdf(digest, ikm, salt, info, keylen, callback)` |