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
window.crypto.getRandomValues is easy to overwrite. So I don't think it is very safe to create random for account private key.
https://github.com/MaiaVictor/eth-lib/blob/d959c54faa1e1ac8d474028ed1568c5dce27cc7a/src/bytes.js#L6-L18
https://github.com/MaiaVictor/eth-lib/blob/d959c54faa1e1ac8d474028ed1568c5dce27cc7a/src/account.js#L8-L13
Maybe you should make sure the entropy is not empty
entropy
The text was updated successfully, but these errors were encountered:
No branches or pull requests
window.crypto.getRandomValues is easy to overwrite. So I don't think it is very safe to create random for account private key.
https://github.com/MaiaVictor/eth-lib/blob/d959c54faa1e1ac8d474028ed1568c5dce27cc7a/src/bytes.js#L6-L18
https://github.com/MaiaVictor/eth-lib/blob/d959c54faa1e1ac8d474028ed1568c5dce27cc7a/src/account.js#L8-L13
Maybe you should make sure the
entropy
is not emptyThe text was updated successfully, but these errors were encountered: