Missing support for Ciphers

Context: Building an SSO integration using Workers + Shopify Multipass. Need to get createCipheriv enabled. Currently getting the below console error. Node compatibility is enabled. Using the latest version of wrangler. 3.33.0
Uncaught SyntaxError: The requested module 'node:crypto' does not provide an export named 'createCipheriv'
Uncaught SyntaxError: The requested module 'node:crypto' does not provide an export named 'createCipheriv'
4 Replies
garb
garbOP9mo ago
createHmac & randomBytes are working via the import of node:crypto. I understand if it's not supported as per the documentation but if there was any insight to getting it rolled out soon? :D
garb
garbOP9mo ago
I would've thought if it's listed with notes, there is some way to get it working?
No description
kian
kian9mo ago
Those notes are just taken from Node’s documentation.
garb
garbOP9mo ago
all good Incase anyone finds this, you can use crypto-browserify which retains the original functionality.
Want results from more Discord servers?
Add your server