---
title: "bun-argon2"
description: "Argon2 password hashing for Bun."
date: 2025
language: en
canonical: https://aissamirhir.com/work/bun-argon2
source: aissamirhir.com
---
# bun-argon2

Argon2 password hashing for Bun.

- Kind: open source
- Status: live
- Year: 2025
- Built with: Bun, Argon2
- Source: https://github.com/nexus-aissam/bun-argon2
- npm: https://www.npmjs.com/package/bun-argon2

## Summary

Hash and verify passwords with Argon2id and sane defaults. A small API for the one thing you should never get wrong.

- Argon2id with OWASP-recommended parameters out of the box
- Constant-time verification
- Typed, tested, and tiny
