Skip to content

Argon2 password hashing function (RFC 9106)#718

Open
karel-m wants to merge 2 commits intodevelopfrom
pr/argon2-rfc9106
Open

Argon2 password hashing function (RFC 9106)#718
karel-m wants to merge 2 commits intodevelopfrom
pr/argon2-rfc9106

Conversation

@karel-m
Copy link
Copy Markdown
Member

@karel-m karel-m commented Apr 11, 2026

Implementation of Argon2 Memory-Hard Function for Password Hashing and Proof-of-Work Applications.

Follows RFC 9106 https://www.rfc-editor.org/rfc/rfc9106.html

Based on the public domain reference implementation from https://github.com/p-h-c/phc-winner-argon2 (switched to libtomcrypt's BLAKE2b implementation + libtomcrypt's macros)

Checklist

  • documentation is added or updated
  • tests are added or updated

@karel-m karel-m requested a review from sjaeckel April 11, 2026 15:27
@sjaeckel sjaeckel force-pushed the pr/argon2-rfc9106 branch from 64f6745 to 458b392 Compare April 12, 2026 12:48
* We continue using `LTC_ARGCHK()` until we've decided on something else.
* Call the enum/struct the same as the typedef.
* Some other small adjustments/fixes.

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
Copy link
Copy Markdown
Member

@sjaeckel sjaeckel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically LGTM!

Thanks a lot.

What do you think of my proposed changes?

@karel-m
Copy link
Copy Markdown
Member Author

karel-m commented Apr 12, 2026

Your changes are fine with me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants