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

Compare and contrast this package with expo-crypto in the README #42

Open
pcowgill opened this issue Dec 30, 2019 · 5 comments
Open

Compare and contrast this package with expo-crypto in the README #42

pcowgill opened this issue Dec 30, 2019 · 5 comments

Comments

@pcowgill
Copy link
Contributor

It would be helpful to compare and contrast this package with expo-crypto in the README

https://docs.expo.io/versions/latest/sdk/crypto/
https://www.npmjs.com/package/expo-crypto

@mvayngrib
Copy link
Member

@pcowgill i agree, but i won't have time for this...i might accept a PR though :)

@mvayngrib
Copy link
Member

@pcowgill for clarify, the main purpose of all these packages (rn-nodeify, react-native-randombytes, react-native-crypto) is compatibility with the node.js apis. expo-[crypto-something] doesn't have this goal

@giacomocerquone
Copy link

giacomocerquone commented Sep 27, 2020

@mvayngrib mh actually it has this exact goal (among providing a way to let devs encrypt stuff of course) https://docs.expo.io/versions/latest/sdk/crypto/, the first line:

"expo-crypto enables you to hash (encrypt) data in an equivalent manner to the Node.js core crypto API"

@mvayngrib
Copy link
Member

@giacomocerquone expo-crypto may provide the same functionality, but it provides a different interface than node.js. react-native-crypto lets you require('crypto') and reuse your node.js code

@giacomocerquone
Copy link

Well i'd do a pr to explain this as a starting point to "showcase" the differences

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

3 participants