allisson/go-pwdhash: Modern, extensible, and secure password hashing for Go.
github.comยท3dยท
Discuss: r/golang
๐Ÿ”—Hash Functions
Preview
Report Post

go-pwdhash

go-pwdhash is a Go-first password hashing helper that embraces the PHC (Password Hashing Competition) format, wraps Argon2id with safe defaults, and surfaces a minimal API for hashing, verification, and upgrades.

Argon2id Only

pwdhash intentionally supports Argon2id only. Algorithms that have already been superseded by Argon2id will not be added, reducing the chance of accidentally selecting outdated primitives. If a superior successor to Argon2id emerges, pwdhash will adopt it behind the same API surface.

Password Policies

pwdhash ships with opinionated Argon2id policies so applications can select a strength profile without touching raw parameters:

  • Interactive โ€“ user login flows where latency matters most.
  • Moderate โ€“ API keys, service-to-โ€ฆ

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help