Workerd Secrets Encryption Question

I'm working on Workerd locally, and I've introduced a secret into my local config.capnp by adding a fromEnvironment binding. I've noticed I can find this binding using both ctx.secrets and ctx.var in the Rust SDK.

Does Workerd apply encryption on secret variables, as wrangler does for the Cloudflare server-based environment?

If yes, is there anywhere I can find more info on it such as encryption type or where it becomes decryped in my worker based on the Workerd source?

Thank you!
Was this page helpful?