deno_std icon indicating copy to clipboard operation
deno_std copied to clipboard

suggestion: add `bcrypt` and `argon2` support to `std/crypto`

Open rossholdway opened this issue 1 year ago • 7 comments

Is your feature request related to a problem? Please describe.

Thoughts on supporting something such as Bun.password - https://bun.sh/docs/api/hashing ?

Describe the solution you'd like

Perhaps std/crypto would be a good place to support something similar? Wrapping the native Rust implementation(s) via WASM.

Describe alternatives you've considered

Currently to use something like argon2 or bcrypt with Deno, you must find and trust a third-party developers wrapper, or attempt bindings yourself. Providing this as part of std/crypto, a trusted dependancy, could help to improve security for those needing password hashing, and improve ease of implementation.

Thanks!

rossholdway avatar Sep 03 '24 16:09 rossholdway