Open
Description
I was thinking of implementing GetCryptographicallySecureRandomBytes
with WASI's random_get
https://github.com/WebAssembly/WASI/blob/main/phases/snapshot/docs.md
(near the end)
This can block though, I'm not an expert, but I suppose that it blocks waiting for entropy. Is that OK for GetCryptographicallySecureRandomBytes
?
(I also need to check if emscrpten actually supports it when compiling for the browser.)