-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(encode) calculate appropriate encoded_len
Use 'argon2_encodedlen()' to determine the appropriate length of the encoded hash. 108 (old constant value) turned out to not always be desired/big enough, causing failures to encode especially with long salts. See thibaultcha:lua-argon2-ffi#8
- Loading branch information
1 parent
338d445
commit b4e3f84
Showing
2 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters