[PR #6688] [MERGED] docs: add Argon2 password hashing example #6827

Closed
opened 2026-03-13 13:13:05 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6688
Author: @SaviruFr
Created: 12/11/2025
Status: Merged
Merged: 12/11/2025
Merged by: @himself65

Base: canaryHead: docs/password


📝 Commits (1)

  • bd74fa0 docs: add Argon2 password hashing example

📊 Changes

1 file changed (+36 additions, -10 deletions)

View changed files

📝 docs/content/docs/authentication/email-password.mdx (+36 -10)

📄 Description

Summary by cubic

Added an Argon2 password hashing example to help users replace the default scrypt with Argon2id. Updated docs to use the emailAndPassword.password config with hash/verify functions based on @node-rs/argon2.

Written for commit bd74fa0d89. Summary will update automatically on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/6688 **Author:** [@SaviruFr](https://github.com/SaviruFr) **Created:** 12/11/2025 **Status:** ✅ Merged **Merged:** 12/11/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `docs/password` --- ### 📝 Commits (1) - [`bd74fa0`](https://github.com/better-auth/better-auth/commit/bd74fa0d89d8330677e29342d26af4dd75992815) docs: add Argon2 password hashing example ### 📊 Changes **1 file changed** (+36 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/authentication/email-password.mdx` (+36 -10) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Added an Argon2 password hashing example to help users replace the default scrypt with Argon2id. Updated docs to use the emailAndPassword.password config with hash/verify functions based on @node-rs/argon2. <sup>Written for commit bd74fa0d89d8330677e29342d26af4dd75992815. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 13:13:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#6827