Skip to content

suggestion: add bcrypt and argon2 support to std/cryptoΒ #5899

Open
@rossholdway

Description

@rossholdway

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    cryptofeedback welcomeWe want community's feedback on this issue or PRsuggestiona suggestion yet to be agreed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions