We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Math.Random is predictable and insecure and the only way to get a secure source of entropy is by making a native call.
I am not entirely sure where web3 uses randomBytes, probably when mining, when creating a new hash for an account or a block.
To improve that there are choices like webview-crypto or react-native-securerandom.
See: https://github.com/agrcrobles/babel-preset-react-native-web3/blob/master/src/randombytes.js#L4
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Math.Random is predictable and insecure and the only way to get a secure source of entropy is by making a native call.
I am not entirely sure where web3 uses randomBytes, probably when mining, when creating a new hash for an account or a block.
To improve that there are choices like webview-crypto or react-native-securerandom.
See: https://github.com/agrcrobles/babel-preset-react-native-web3/blob/master/src/randombytes.js#L4
The text was updated successfully, but these errors were encountered: