napi-rs / napi-rs/node-rs

Add Bun password hashing to benchmarks (Bcrypt, Argon2)

Open
#720 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.5k
Forks
52
Avg merge
13h 37m
Merged PRs (30d)
19

Description

The Bun runtime supports password hashing out of the box. I guess it uses the implementations in the Zig standard library.
https://bun.sh/guides/util/hash-a-password

Since Bun is rapidly gaining popularity, many developers will wonder if the built-in functions or the ones in the napi-rs packages are faster. Adding the Bun stdlib to the benchmarks can help them decide if they should install this package or use the stdlib.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing Bcrypt and Argon2 benchmark entry points and reviewing Bun's password-hashing guide. Add Bun's built-in implementations to the relevant benchmarks, then verify that comparable results for both algorithms are included.

Written by the indexing model from the issue text.

Assessment

Tech stack
bun
Domain
performance
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.