WebCrypto implementation for React Native.
npm install --save react-native-webcrypto
react-native linkimport 'react-native-webcrypto'
// The WebCrypto API is now available:
crypto.subtle| Feature | iOS | Android |
|---|---|---|
| AES-GCM | ||
— importKey |
🚫 | ✅ |
— encrypt |
🚫 | ✅ |
— decrypt |
🚫 | ✅ |
| HKDF | ||
— importKey |
🚫 | ✅ |
— deriveBits |
🚫 | ✅ |
| PBKDF2 | ||
— importKey |
🚫 | ✅ |
— deriveBits |
🚫 | ✅ |