-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
While the default version of Argon2's algorithm is currently version 13 (represented by the decimal 19 in the encoded hash), be explicit on JRuby in case jruby-openssl ever changes so that it is consistent with the C version. While we're at it, re-order the parameters to match the order given to the C API (though this doesn't actually match the order presented in the encoded hash where memory cost precedes time cost).
- Loading branch information
Showing
2 changed files
with
14 additions
and
7 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