Bcrypt on Cloudflare Workers

I originally sent this in #coding-help but I think this is a better channel...

How can I hash data using Bcrypt on Cloudflare Workers? (I'm using Wrangler CLI with NodeJS compatibility fyi)

I managed to do SHA-256 (with my own salting system by concatenating the salt to the password before hashing) using the NodeJS crypto.subtle module, which is provided by Cloudflare Workers with node compatibility.

I want the hashing to be more secure by using Bcrypt, but I don't know how I can do that on Cloudflare Workers
Was this page helpful?