Fix WASI function name and doc link (#202)
This commit is contained in:
+2
-2
@@ -27,7 +27,7 @@
|
||||
//! | SGX | `x86_64‑*‑sgx` | [RDRAND][18]
|
||||
//! | VxWorks | `*‑wrs‑vxworks‑*` | `randABytes` after checking entropy pool initialization with `randSecure`
|
||||
//! | Emscripten | `*‑emscripten` | `/dev/random` (identical to `/dev/urandom`)
|
||||
//! | WASI | `wasm32‑wasi` | [`__wasi_random_get`][17]
|
||||
//! | WASI | `wasm32‑wasi` | [`random_get`][17]
|
||||
//! | Web Browser | `wasm32‑*‑unknown` | [`Crypto.getRandomValues()`][14], see [WebAssembly support][16]
|
||||
//! | Node.js | `wasm32‑*‑unknown` | [`crypto.randomBytes`][15], see [WebAssembly support][16]
|
||||
//!
|
||||
@@ -133,7 +133,7 @@
|
||||
//! [14]: https://www.w3.org/TR/WebCryptoAPI/#Crypto-method-getRandomValues
|
||||
//! [15]: https://nodejs.org/api/crypto.html#crypto_crypto_randombytes_size_callback
|
||||
//! [16]: #webassembly-support
|
||||
//! [17]: https://github.com/WebAssembly/WASI/blob/master/design/WASI-core.md#__wasi_random_get
|
||||
//! [17]: https://github.com/WebAssembly/WASI/blob/main/phases/snapshot/docs.md#-random_getbuf-pointeru8-buf_len-size---errno
|
||||
//! [18]: https://software.intel.com/en-us/articles/intel-digital-random-number-generator-drng-software-implementation-guide
|
||||
//! [19]: https://www.unix.com/man-page/mojave/2/getentropy/
|
||||
//! [20]: https://www.unix.com/man-page/mojave/4/random/
|
||||
|
||||
Reference in New Issue
Block a user