node:crypto functions

I'm trying to use node:crypto functions in my code, but I am receiving errors. I get the error attached in the IDE. But then I get intellisense which shows me those crypto functions. I have the compatibility_flags = [ "nodejs_compat" ] in my wrangler.toml.
No description
3 Replies
Joey
Joey5mo ago
and I guess as expected I get the error TypeError: crypto.scryptSync is not a function do I need to install something?
kian
kian5mo ago
Crypto · Cloudflare Workers docs
The node:crypto module provides cryptographic functionality that includes a set of wrappers for OpenSSL’s hash, HMAC, cipher, decipher, sign, and …
Joey
Joey5mo ago
my bad, can't believe I missed that