Hi, is anyone experienced with using encryption in nodejs on Cloudflare? I'm working with cloudfl

Hi, is anyone experienced with using encryption in nodejs on Cloudflare?

I'm working with cloudflare and want to use createCipheriv and createDecipheriv from the nodejs crypto module.

However, Cloudflare doesn't support these yet as shown in their documentation:
https://developers.cloudflare.com/workers/runtime-apis/nodejs/crypto/

I get this error:
Error: [unenv] crypto.createCipheriv is not implemented yet!

What alternatives can I use instead?

Thanks in advance!
Cloudflare Docs
The node:crypto module provides cryptographic functionality that includes a set of wrappers for OpenSSL's hash, HMAC, cipher, decipher, sign, and verify functions.
Was this page helpful?