# margelo/react-native-quick-crypto

⚡️ A fast implementation of Node's `crypto` module written in C/C++ JSI

Repository: https://github.com/margelo/react-native-quick-crypto
Canonical: https://ross.abutalabs.com/products/react-native-quick-crypto
Homepage: https://crypto.margelo.com
Language: TypeScript
License: NOASSERTION
License Family: other
Topics: react-native, react, native, cpp, jsi, crypto, cryptography, encryption, decryption, maths, web3, ethers
Last push: 2026-08-15T00:59:00+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 98, longevity 100
- inputs: {"age_days": 1658, "days_push": 19, "days_rel": 19, "gap_med": 5, "n_releases_24m": 42}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1063, forks 119 (observed 2026-08-28T04:03:26.294257+00:00)

## What it is
A fast C/C++ JSI-based implementation of Node's crypto module for React Native, built on Nitro Modules. It serves as a drop-in replacement for JS-based polyfills like crypto-browserify and react-native-crypto, offering native-speed cryptography on mobile.

## Use cases
- speed up cryptography in React Native crypto wallets and web3 apps
- replace slow JS crypto polyfills like react-native-crypto or crypto-browserify
- implement end-to-end encryption in a mobile app
- add TOTP two-factor authentication to a React Native app
- encrypt large files locally on iOS and Android
- polyfill global crypto and Buffer for libraries like ethers.js or bitcoinjs-lib
- use Node.js crypto APIs like PBKDF2, scrypt, HMAC, and ECDH in React Native

## When to choose
- you need Node.js-compatible crypto APIs in a React Native app with native performance
- your app does heavy cryptography (wallets, local-first databases, E2E encryption) and JS polyfills are too slow
- you want a drop-in replacement for react-native-crypto, expo-crypto, or crypto-browserify
- you're on React Native 0.75+ with the new architecture

## When to avoid
- you're building for plain Node.js or the web, where native crypto already exists
- you need older React Native versions below 0.75 without using the legacy 0.x line
- you only need simple random bytes and a lightweight wrapper around system APIs suffices

## Facets
- artifact type: library
- maturity: active
- function: cryptography, security, sdk
- domain: mobile-development, security, cross-platform
- platform: cpp
- tags: react-native, jsi, nitro-modules, node-crypto, web3, encryption, hashing, polyfill, expo, android, ios

## Member repositories
- margelo/react-native-quick-crypto (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:26.294257+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:56:39.843000+00:00, confidence not recorded.
  - readme: https://github.com/margelo/react-native-quick-crypto (fetched 2026-08-28T04:03:26.294257+00:00, sha 7048e2db59da)
  - homepage: https://crypto.margelo.com (fetched 2026-08-29T12:58:06.172159+00:00, sha 6011e71cc147)
  - site_page: https://crypto.margelo.com/docs/introduction/quick-start (fetched 2026-08-29T12:58:06.180827+00:00, sha 35429b2e56ed)
  - site_page: https://crypto.margelo.com/docs/guides/migration (fetched 2026-08-29T12:58:06.183229+00:00, sha c46a5de74509)
  - registry_npm: https://registry.npmjs.org/react-native-quick-crypto (fetched 2026-08-29T12:58:06.185721+00:00, sha 9396cde9f84b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
