Skip to content
New issue

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

Using Math.random is not cryptographically secure! Use bcrypt.setRandomFallback to set a PRNG. #110

Closed
khuang-citylift opened this issue Oct 8, 2019 · 3 comments
Labels

Comments

@khuang-citylift
Copy link

Hi guys,

When using react-native-bcrypt, I get the warning:
"Using Math.random is not cryptographically secure! Use bcrypt.setRandomFallback to set a PRNG."

It looks the warning comes from the import line. Is there a way to suppress this or to get rid of this warning every time I build?

Thanks,
Kevin

@jjarcik
Copy link

jjarcik commented Nov 7, 2020

Hi Kevin, did You solve this issue?

@khuang-citylift
Copy link
Author

Hi Kevin, did You solve this issue?

No, I have not. This issue persists in SDK 39.0.0 still.

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in one week if no further activity occurs. Thank you for your contributions!

@github-actions github-actions bot added the stale label Feb 21, 2025
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants