denoland / denoland/std

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

Open
#5,899 8 comments 5 reactions 0 assignees View on GitHub
crypto feedback welcome suggestion
Dominant language
TypeScript
Stars
3.6k
Forks
681
PR merge metrics
No merged PRs in 30d

Description

**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!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.