<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/four-years-of-react-native-quick-crypto-from-wallets-to-node-parity-2tkdw2xyo" -->

---
title: Four Years of React Native Quick Crypto: From Wallets to...
description: A retrospective on react-native-quick-crypto's four-year evolution from a 2022 wallet-era JSI hash/HMAC library into a near-complete native Node crypto...
canonical: https://daily.dev/posts/four-years-of-react-native-quick-crypto-from-wallets-to-node-parity-2tkdw2xyo
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Four Years of React Native Quick Crypto: From Wallets to Node Parity | daily.dev
og:description: A retrospective on react-native-quick-crypto's four-year evolution from a 2022 wallet-era JSI hash/HMAC library into a near-complete native Node crypto...
og:url: https://daily.dev/posts/four-years-of-react-native-quick-crypto-from-wallets-to-node-parity-2tkdw2xyo
og:image: https://api.daily.dev/og/posts/2Tkdw2XYO.png
og:image:alt: Four Years of React Native Quick Crypto: From Wallets to Node Parity
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Four Years of React Native Quick Crypto: From Wallets to Node Parity

**[Nitro Modules](https://daily.dev/sources/margelo)** · 14 min read · 0 upvotes · 0 comments

## Summary

A retrospective on react-native-quick-crypto's four-year evolution from a 2022 wallet-era JSI hash/HMAC library into a near-complete native Node crypto implementation for React Native. Covers its OpenSSL foundation, the switch from hand-written JSI plumbing to the Nitro Modules codegen framework, the addition of WebCrypto subtle APIs, Ed25519/X25519, and OpenSSL 3.6's ML-KEM/ML-DSA/SLH-DSA post-quantum algorithms. Details a six-phase security audit (fixing a sliced-ArrayBuffer bug, an XSalsa20 keystream reuse vulnerability, missing DH/ECDH peer-key validation, and a Bleichenbacher padding oracle on RSA PKCS#1 v1.5), benchmark results showing up to 7,480x speedups over pure-JS alternatives, and download growth from ~47,000/week to ~244,000/week over a year.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://margelo.com/blog/four-years-of-react-native-quick-crypto>

## Questions this post answers

### What security vulnerabilities were found in react-native-quick-crypto's security audit?

A six-phase security audit found several critical issues, including a sliced ArrayBuffer byte-offset bug in timingSafeEqual and AEAD setAAD that compared or authenticated the wrong bytes, an XSalsa20 keystream restart bug causing a catastrophic two-time-pad in streaming Cipheriv, missing DH/ECDH peer-key validation allowing off-curve or small-subgroup attacks, and a Bleichenbacher padding oracle on RSA PKCS#1 v1.5 decryption, fixed via OpenSSL 3.2+ implicit rejection.

_daily.dev surfaces writeups like this for teams auditing crypto dependencies before shipping to production._

### How much faster is react-native-quick-crypto than pure JavaScript crypto libraries like noble or crypto-browserify?

Native OpenSSL-backed operations in react-native-quick-crypto are dramatically faster than pure-JS alternatives: DH modp14 key generation is about 7,480x faster than crypto-browserify, HMAC SHA-256 on an 8 MB buffer is 1,418x faster than @noble/hashes/hmac, and utf16le encoding of 1 MB strings is roughly 992x faster than the Buffer polyfill, largely because pure-JS BigInt math can't match OpenSSL's tuned assembly.

_Developers comparing crypto approaches for React Native can track benchmark deep dives like this on daily.dev._

### Does react-native-quick-crypto support post-quantum cryptography algorithms like ML-KEM and ML-DSA?

Yes, react-native-quick-crypto added ML-KEM, ML-DSA, and SLH-DSA support after OpenSSL 3.6 introduced native implementations of these NIST post-quantum finalists. ML-KEM supports encapsulate/decapsulate and key wrapping with raw-public and raw-seed export/import, ML-DSA supports sign/verify with JWK and PKCS#8 import/export, and SLH-DSA supports sign and verify, all usable on iOS and Android through the standard subtle and KeyObject APIs.

_Follow post-quantum crypto adoption in mobile libraries on daily.dev as teams plan migrations._

## Similar posts on daily.dev

- [RN 0.86, Enriched, Gesture Handler, Crypto, Morph View, Compressor, Data Detector, XCFrameworks Hermes](https://daily.dev/posts/rn-0-86-enriched-gesture-handler-crypto-morph-view-compressor-data-detector-xcframeworks-herm-flhzmadvh) · This Week In React · 14 upvotes · 1 comments
- [No-Node Native Apps, Sub-Millisecond Text Math, and Sending 3,000 Lines of C\+\+ to Valhalla](https://daily.dev/posts/no-node-native-apps-sub-millisecond-text-math-and-sending-3-000-lines-of-c-to-valhalla-ywyvvhun5) · ITNEXT · 5 upvotes · 0 comments
- [A New Era · React Native](https://daily.dev/posts/a-new-era-react-native-eizv3agrm) · React Native · 260 upvotes · 20 comments
- [React Native's new era](https://daily.dev/posts/react-native-s-new-era-me2hespyc) · Bytes by ui.dev · 4 upvotes · 0 comments

---

Tags: [#quantum-computing](https://daily.dev/tags/quantum-computing), [#react-native](https://daily.dev/tags/react-native), [#cryptography](https://daily.dev/tags/cryptography)

[View this post on daily.dev](https://daily.dev/posts/four-years-of-react-native-quick-crypto-from-wallets-to-node-parity-2tkdw2xyo)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Four Years of React Native Quick Crypto: From Wallets to Node Parity","url":"https://daily.dev/posts/four-years-of-react-native-quick-crypto-from-wallets-to-node-parity-2tkdw2xyo","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/four-years-of-react-native-quick-crypto-from-wallets-to-node-parity-2tkdw2xyo"},"datePublished":"2026-08-23T12:22:09.626Z","dateModified":"2026-08-23T12:50:19.316Z","description":"A retrospective on react-native-quick-crypto's four-year evolution from a 2022 wallet-era JSI hash/HMAC library into a near-complete native Node crypto...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5f902d8a3695cee5851ce8d9e262e886?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/5f902d8a3695cee5851ce8d9e262e886?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Nitro Modules","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Nitro Modules","logo":"https://media.daily.dev/image/upload/s--5qrQGNNm--/f_auto,q_auto/v1787487502/logos/margelo?_a=BAMAMicg0","url":"https://daily.dev/sources/margelo"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/four-years-of-react-native-quick-crypto-from-wallets-to-node-parity-2tkdw2xyo","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"quantum-computing,react-native,cryptography","timeRequired":"PT14M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Nitro Modules","item":"https://daily.dev/sources/margelo"},{"@type":"ListItem","position":3,"name":"Four Years of React Native Quick Crypto: From Wallets to Node Parity"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/four-years-of-react-native-quick-crypto-from-wallets-to-node-parity-2tkdw2xyo#faq","mainEntity":[{"@type":"Question","name":"What security vulnerabilities were found in react-native-quick-crypto's security audit?","acceptedAnswer":{"@type":"Answer","text":"A six-phase security audit found several critical issues, including a sliced ArrayBuffer byte-offset bug in timingSafeEqual and AEAD setAAD that compared or authenticated the wrong bytes, an XSalsa20 keystream restart bug causing a catastrophic two-time-pad in streaming Cipheriv, missing DH/ECDH peer-key validation allowing off-curve or small-subgroup attacks, and a Bleichenbacher padding oracle on RSA PKCS#1 v1.5 decryption, fixed via OpenSSL 3.2+ implicit rejection. daily.dev surfaces writeups like this for teams auditing crypto dependencies before shipping to production."}},{"@type":"Question","name":"How much faster is react-native-quick-crypto than pure JavaScript crypto libraries like noble or crypto-browserify?","acceptedAnswer":{"@type":"Answer","text":"Native OpenSSL-backed operations in react-native-quick-crypto are dramatically faster than pure-JS alternatives: DH modp14 key generation is about 7,480x faster than crypto-browserify, HMAC SHA-256 on an 8 MB buffer is 1,418x faster than @noble/hashes/hmac, and utf16le encoding of 1 MB strings is roughly 992x faster than the Buffer polyfill, largely because pure-JS BigInt math can't match OpenSSL's tuned assembly. Developers comparing crypto approaches for React Native can track benchmark deep dives like this on daily.dev."}},{"@type":"Question","name":"Does react-native-quick-crypto support post-quantum cryptography algorithms like ML-KEM and ML-DSA?","acceptedAnswer":{"@type":"Answer","text":"Yes, react-native-quick-crypto added ML-KEM, ML-DSA, and SLH-DSA support after OpenSSL 3.6 introduced native implementations of these NIST post-quantum finalists. ML-KEM supports encapsulate/decapsulate and key wrapping with raw-public and raw-seed export/import, ML-DSA supports sign/verify with JWK and PKCS#8 import/export, and SLH-DSA supports sign and verify, all usable on iOS and Android through the standard subtle and KeyObject APIs. Follow post-quantum crypto adoption in mobile libraries on daily.dev as teams plan migrations."}}]}
```

