File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2727//! | SGX | `x86_64‑*‑sgx` | [RDRAND][18]
2828//! | VxWorks | `*‑wrs‑vxworks‑*` | `randABytes` after checking entropy pool initialization with `randSecure`
2929//! | Emscripten | `*‑emscripten` | `/dev/random` (identical to `/dev/urandom`)
30- //! | WASI | `wasm32‑wasi` | [`__wasi_random_get `][17]
30+ //! | WASI | `wasm32‑wasi` | [`random_get `][17]
3131//! | Web Browser | `wasm32‑*‑unknown` | [`Crypto.getRandomValues()`][14], see [WebAssembly support][16]
3232//! | Node.js | `wasm32‑*‑unknown` | [`crypto.randomBytes`][15], see [WebAssembly support][16]
3333//!
133133//! [14]: https://www.w3.org/TR/WebCryptoAPI/#Crypto-method-getRandomValues
134134//! [15]: https://nodejs.org/api/crypto.html#crypto_crypto_randombytes_size_callback
135135//! [16]: #webassembly-support
136- //! [17]: https://github.com/WebAssembly/WASI/blob/master/design/WASI-core .md#__wasi_random_get
136+ //! [17]: https://github.com/WebAssembly/WASI/blob/main/phases/snapshot/docs .md#-random_getbuf-pointeru8-buf_len-size---errno
137137//! [18]: https://software.intel.com/en-us/articles/intel-digital-random-number-generator-drng-software-implementation-guide
138138//! [19]: https://www.unix.com/man-page/mojave/2/getentropy/
139139//! [20]: https://www.unix.com/man-page/mojave/4/random/
You can’t perform that action at this time.
0 commit comments