How to substitute noble-ed25519 for node:crypto? #98
Answered
by
paulmillr
guest271314
asked this question in
Q&A
-
I'm currently using this from https://github.com/GoogleChromeLabs/webbundle-plugins/tree/main/packages/rollup-plugin-webbundle#isolated-web-app-signed-web-bundle
There is supposed to be an option to do this
which throws
|
Beta Was this translation helpful? Give feedback.
Answered by
paulmillr
Dec 18, 2023
Replies: 1 comment 9 replies
-
noble expects Uint8Array key and you're passing something else. Investigate how to convert the key to Uint8Array. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
doesn’t seem to be a problem of noble.
we have very simple api: give u8a, take u8a. webcrypto uses custom objects, but they can be exported and imported to u8a