Skip to content

Conversation

danielbobbert
Copy link

This fix uses a binary representation of the Argon2 salt when calling "argon2-browser", because the previously used string representation would cause a re-encoding to UTF8 by "argon2-browser", which leads to unwanted modification of the salt if the salt was given as HEX or BASE64 in CyberChef.

Fixes #1881

@CLAassistant
Copy link

CLAassistant commented Aug 28, 2025

CLA assistant check
All committers have signed the CLA.

…n2-browser, to fix hex or base64 encoded salt values
@danielbobbert danielbobbert changed the title Use binary representation of Argon2 salt fix(argon2): Use binary representation of Argon2 salt Sep 1, 2025
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.

Bug report: Argon2 salts do not match between input and hash output
2 participants