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

expo-random deprecated in favor of expo-crypto #3

Open
emmanuelm41 opened this issue Jul 25, 2024 · 0 comments
Open

expo-random deprecated in favor of expo-crypto #3

emmanuelm41 opened this issue Jul 25, 2024 · 0 comments

Comments

@emmanuelm41
Copy link

As it stands here, expo-random has been deprecated. Would it be possible to migrate dependencies to expo-crypto instead?

expo-random
⚠️ Deprecated

This package is now deprecated in favor of expo-crypto, which provides the same functionality. To migrate, replace all imports from expo-random with imports from expo-crypto.

Provides a native interface for creating strong random bytes. With Random you can generate random values to address use cases that other APIs like the web's crypto.getRandomValues and Node's crypto.randomBytes might address.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant