Search
Setup for Free
CD
Cloudflare Developers
•
3y ago
AwesomeDude091
How do I add Node:Crypto support for my Worker?
How
, like literally how
?
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
83,384
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
C
Cyb3r-Jak3
•
7/1/23, 4:19 PM
The only way is to use polyfills
https://developers.cloudflare.com/workers/wrangler/configuration/#add-polyfills-using-wrangler
If possible you are going to want to use
https://developers.cloudflare.com/workers/runtime-apis/web-crypto
as it is native to workers
Web Crypto · Cloudflare Workers docs
The Web Crypto API provides a set of low
-level functions for common cryptographic tasks
. The Workers Runtime implements the full surface of this API
,
…
Configuration · Cloudflare Workers docs
Wrangler optionally uses a wrangler
.toml configuration file to customize the development and publishing setup for a Worker
.
Similar Threads
how do i setup and use node:crypto in my workers?
CD
Cloudflare Developers / general-help
2y ago
worker crypto
CD
Cloudflare Developers / workers-and-pages-help
3y ago
support id-ec-PublicKey in node:crypto
CD
Cloudflare Developers / workers-and-pages-help
15mo ago
node:crypto functions
CD
Cloudflare Developers / workers-and-pages-help
2y ago