Skip to content

Replace node:crypto HMAC-SHA512 with @noble/hashes - #25

Merged
mattgle merged 1 commit into
devfrom
feat/wallet-node-browser-compat
Jun 24, 2026
Merged

mattgle merged 1 commit into
devfrom
feat/wallet-node-browser-compat

Conversation

@mattgle

@mattgle mattgle commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Reimplements sha512HMAC with @noble/hashes instead of node:crypto, so BIP-32 wallet derivation runs in browser, extension, and React Native runtimes without Node polyfills. Derived keys are byte-for-byte unchanged.

Scope is HMAC-SHA512 only; AES portability is tracked separately.

@mattgle mattgle self-assigned this Jun 24, 2026
@mattgle
mattgle requested a review from bhflm June 24, 2026 15:02
@mattgle
mattgle marked this pull request as ready for review June 24, 2026 15:02
@mattgle
mattgle merged commit cdcd12b into dev Jun 24, 2026
1 check passed
@mattgle
mattgle deleted the feat/wallet-node-browser-compat branch June 24, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants