|
|
|
|
|
by lxgr
1140 days ago
|
|
WASM is a "pure" VM/execution environment without any standard system calls or library functions. Given that, you'll need to provide your own seed and your own cryptographically-secure PRNG implementation. Trust Wallet seems to have botched the latter [1] (in fact, it looks to me like they aren't even understanding the implications of that decision based on the PR description [2]). How is that WASMs fault? [1] https://github.com/trustwallet/wallet-core/pull/2240 [2] They say that their choice of using the Mersenne Twister is "inspired by emscripten", which does no such thing. |
|