# react-native-webcrypto

> WebCrypto implementation for React Native.

Latest version **1.0.0-alpha.3** (published 2018-09-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-webcrypto
pnpm add react-native-webcrypto
yarn add react-native-webcrypto
bun add react-native-webcrypto
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0-alpha.3 |
| Published | 2018-09-07 |
| First published | 2018-09-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 24.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 23 |
| Maintainers | linusu |
| Keywords | react-native, webcrypto |

## Links

- npm: https://www.npmjs.com/package/react-native-webcrypto
- Repository: https://github.com/LinusU/react-native-webcrypto
- Homepage: https://github.com/LinusU/react-native-webcrypto#readme
- Issues: https://github.com/LinusU/react-native-webcrypto/issues
- npm.io page: https://npm.io/package/react-native-webcrypto

## Dependencies (3)

- [fast-base64-decode](https://npm.io/package/fast-base64-decode.md) ^1.0.0
- [fast-base64-encode](https://npm.io/package/fast-base64-encode.md) ^1.0.0
- [fast-base64-length](https://npm.io/package/fast-base64-length.md) ^1.0.0

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 1.0.0-alpha.3 (latest) — 2018-09-07
- 1.0.0-alpha.2 — 2018-09-06

## 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** | |
&mdash; `importKey` | 🚫 | ✅
&mdash; `encrypt` | 🚫 | ✅
&mdash; `decrypt` | 🚫 | ✅
**HKDF** | |
&mdash; `importKey` | 🚫 | ✅
&mdash; `deriveBits` | 🚫 | ✅
**PBKDF2** | |
&mdash; `importKey` | 🚫 | ✅
&mdash; `deriveBits` | 🚫 | ✅

---
_Source: https://npm.io/package/react-native-webcrypto · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
