https://github.com/linusu/react-native-webcrypto
WebCrypto implementation for React Native
https://github.com/linusu/react-native-webcrypto
Last synced: about 1 year ago
JSON representation
WebCrypto implementation for React Native
- Host: GitHub
- URL: https://github.com/linusu/react-native-webcrypto
- Owner: LinusU
- Created: 2018-09-04T13:29:35.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-04-05T12:17:11.000Z (about 6 years ago)
- Last Synced: 2025-04-17T19:04:43.063Z (about 1 year ago)
- Language: Java
- Size: 1.34 MB
- Stars: 23
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# react-native-webcrypto
WebCrypto implementation for React Native.
## Installation
```sh
npm install --save react-native-webcrypto
react-native link
```
## Usage
```javascript
import 'react-native-webcrypto'
// The WebCrypto API is now available:
crypto.subtle
```
## Implementation Status
Feature | iOS | Android
----- | ------ | ------
**AES-GCM** | |
— `importKey` | 🚫 | ✅
— `encrypt` | 🚫 | ✅
— `decrypt` | 🚫 | ✅
**HKDF** | |
— `importKey` | 🚫 | ✅
— `deriveBits` | 🚫 | ✅
**PBKDF2** | |
— `importKey` | 🚫 | ✅
— `deriveBits` | 🚫 | ✅