spec
spec copied to clipboard
Add `random_get()` to the ABI
A high quality random number is needed for many reasons inside a Wasm module.
wasi_ephemeral_random.get defines such an API. proxy_wasm should use or define a compatible API.
@PiotrSikora
@mandarjog it's now supported in cpp-host https://github.com/proxy-wasm/proxy-wasm-cpp-host/pull/68, and it's upstreamed to Envoy's master branch https://github.com/envoyproxy/envoy/pull/13606
How can this be called from Rust? Cannot find a mention of it in the Rust SDK
How can this be called from Rust? Cannot find a mention of it in the Rust SDK
See the answer in the other issue you've opened in the Rust SDK.