DenoDDeno
Powered by
chromaLTSC
Denoβ€’2y agoβ€’
13 replies
chromaLTS

Using std/crypto with x25519 crashes - How do i use node experimental modules instead?

Please help ❀️ my brain is beginning to melt 🫠

I'm trying to implement ECIES (Elliptic Curve Integrated Encryption Scheme) capabilities in my app, but the standard crypto library doesn't support it. This is because the standard implementation is based on either a faulty Chrome implementation or a faulty Node.js implementation. However, Node.js does have a fix, but it's hidden behind the --experimental-modules flag.

In deno is there a way to enable this when importing modules from Node.js? Or am I forced to switch back to Node.js?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

How do I use std/log?
NeTTNNeTT / help
4y ago
How to use vendoring with node_modules
NobbZNNobbZ / help
3y ago
node crypto
HashHHash / help
3y ago