mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
b0403efc80ddc5ee708cfcc5601ec4560497f47e
Emscripten registers /dev/urandom and /dev/random by default, but falls back to Math.random()*256 when crypto.getRandomValues() is not available, which is not acceptable. So we need to re-register them no matter what.
See README.markdown
Languages
C
93%
Shell
1.8%
M4
1.5%
Zig
1.3%
Assembly
1.1%
Other
1.2%