Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add random_get() to the ABI #12

Closed
mandarjog opened this issue Oct 1, 2020 · 4 comments
Closed

Add random_get() to the ABI #12

mandarjog opened this issue Oct 1, 2020 · 4 comments

Comments

@mandarjog
Copy link

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.

@mandarjog
Copy link
Author

@PiotrSikora

@mathetake
Copy link
Contributor

mathetake commented Oct 19, 2020

@mandarjog it's now supported in cpp-host proxy-wasm/proxy-wasm-cpp-host#68, and it's upstreamed to Envoy's master branch envoyproxy/envoy#13606

@sonhal
Copy link

sonhal commented Mar 25, 2021

How can this be called from Rust? Cannot find a mention of it in the Rust SDK

@PiotrSikora
Copy link
Member

PiotrSikora commented Mar 25, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants