Bun Hashing
Bun provides a set of utility functions for hashing and verifying passwords with various cryptographically secure algorithms
Install
npx skills add jarle/bun-skills --skill Bun Hashinggit clone --depth 1 https://github.com/jarle/bun-skills.git /tmp/bun-skills
mkdir -p ~/.claude/skills
cp -r /tmp/bun-skills/skills/bun-runtime-hashing ~/.claude/skills/Bun-HashingPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Hashing
> Bun provides a set of utility functions for hashing and verifying passwords with various cryptographically secure algorithms
<Note>
Bun implements the `createHash` and `createHmac` functions from [`node:crypto`](https://nodejs.org/api/crypto.html) in
addition to the Bun-native APIs documented below.
</Note>
***
## `Bun.password`
`Bun.password` is a collection of utility functions for hashing and verifying passwords with various cryptographically secure algorithms.
```ts theme={"theme":{"light":"github-light","dark":"dracula"}}
const password = "super-secure-pa$$word";
const hash = await Bun.password.hash(password);
// => $argon2id$v=19$m=65536,t=2,p=1$tFq+9AVr1bfPxQdh6E8DQRhEXg/M/SqYCNu6gVdRRNs$GzJ8PuBi+K+BVojzPfS5mjnC8OpLGtv8KJqF99eP6a4
const isMatch = await Bun.password.verify(password, hash);
// => true
```
The second argument to `Bun.password.hash` accepts a params object that lets you pick and configure the hashing algorithm.
```ts theme={"theme":{"light":"github-light","dark":"dracula"}}
const password = "super-secure-pa$$word";
// use argon2 (default)
const argonHash = await Bun.password.hash(password, {
algorithm: "argon2id", // "argon2id" | "argon2i" | "argon2d"
memoryCost: 4, // memory usage in kibibytes
timeCost: 3, // the number of iterations
});
// use bcrypt
const bcryptHash = await Bun.password.hash(password, {
algorithm: "bcrypt",
cost: 4, // number between 4-31
});
```Details
- Skill name
Bun Hashing- Repository
- jarle/bun-skills
- Path
skills/bun-runtime-hashing/SKILL.md- License
- MIT
- Repo updated
- 24 February 2026
FAQ
What does the Bun Hashing skill do?
Bun provides a set of utility functions for hashing and verifying passwords with various cryptographically secure algorithms
How do I install the Bun Hashing skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add jarle/bun-skills --skill Bun Hashing. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Bun Hashing popular?
It lives in jarle/bun-skills, which has 9 GitHub stars and 1 forks.
Related skills
Bun Archive
9jarle/bun-skills
Create and extract tar archives with Bun's fast native implementation
Bun Auto Install
9jarle/bun-skills
Bun's automatic package installation feature for standalone script execution
Bun Bun Add
9jarle/bun-skills
Add packages to your project with Bun's fast package manager
Bun Routing
9jarle/bun-skills
Define routes in `Bun.serve` using static paths, parameters, and wildcards
Offer Letter
5getclera/claude-skills
Generate clean, professional offer letters from a few inputs. Use this skill whenever the user wants to "write an offer letter", "draft an offer", "make an offer for [candidate]", or is extending a role to a hire. Produces a complete, warm-but-professional offer letter and can flag if comp falls outside a defined band. Note: this drafts the letter — it does not send it or commit the company to terms.
Browse Memberships
9Lord1Egypt/RA-Skills
Return Sam's Club's consumer membership tiers (Club, Plus) with standard annual prices, current promo first-year prices, promo window dates, and the full per-tier benefits list. Read-only; never joins or enters payment info.
Browse the most popular Claude skills, all finance & crypto skills, or write your own with the skills generator.