@amazon-devices/expo-crypto is a universal library for crypto operations that enables you to hash data in an equivalent manner to the Node.js core crypto API.
Installation
- Add the JavaScript library dependency in the
package.jsonfile. Select the tab for your React Native version.
- React Native 0.72
- React Native 0.83
- Reinstall dependencies using
npm installcommand.
Examples
API reference
Check out the dedicated documentation page for info about this library, API reference and more: Official Expo documentation for expo-crypto.Methods
Implementation details
Vega supports all cryptographic hash functions (CryptoDigestAlgorithm enum) except for MD2.

