dcodeIO/bcrypt.js

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

khuang-citylift opened this issue · 2 comments

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

Hi Kevin, did You solve this issue?

Hi Kevin, did You solve this issue?

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