Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Member
Author
|
Two things:
Besides the naming and implementation my agent took so far, do you think this is something we could prepare on a |
This was referenced Nov 28, 2026
Collaborator
|
Thanks @hannojg. This PR kicked off the whole plan. Closing it in favour of the Nitro Modules v1 + RN-free RNQC milestone, so one We tested this PR's package inside the Nitro Modules v1 RN 0.88 example app. It works there with a thin React Native layer (results). Pieces from this PR carried forward:
The branch stays available for reference. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A standalone Hermes app importing
multiformats/hashes/sha2needs Node'screateHash(). Quick Crypto already implements the hash in C++, but its JS entry point and generated bindings depend on React Native and Nitro 0.x.This adds
quick-crypto-nitro, a separate package exposing incremental hashing through Nitro v1. Both bindings use the same OpenSSL digest operations. The Apple target uses Quick Crypto’s existing prefixed OpenSSL archive. Android links static OpenSSL into a separate shared library because the host’s networking library also defines symbols such asERR_get_error.I ran the unmodified
multiformats@13.4.2SHA-256 and SHA-512 exports on Hermes on an Android 15 emulator and an iOS 27 simulator. Both produced the expected digests for a sliced typed array and supported incremental SHA-256 throughnode:crypto. The Android test also covers empty input and reuse after finalization. This first port coverscreateHash,updateanddigest.