-
Notifications
You must be signed in to change notification settings - Fork 36
Add PBKDF2 Hashing support #596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
MohamedSabthar
merged 27 commits into
ballerina-platform:master
from
randilt:PBKDF2-support
Apr 16, 2025
+674
−233
Merged
Changes from 22 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
6240e8a
[Automated] Update the native jar versions
randilt f11b98a
Move password hashing methods to Password class removing PasswordArgo…
randilt d5744d5
Add PBKDF2 configuration and validation methods in PasswordUtils
randilt 719fa07
Implement PBKDF2 hashing and verification methods in the crypto module
randilt 8dd8018
Update PBKDF2 parameters and validation in tests and PasswordUtils
randilt 6a83815
Remove generateSaltPbkdf2 function and related tests from hash module
randilt 37188f0
Add PBKDF2 password hashing and verification support to changelog
randilt 3c667ff
Fix changelog, move the PBKDF2 support change to unreleased
randilt 095e270
Add proposal for PBKDF2-based password hashing APIs in Ballerina cryp…
randilt af9ef35
Add PBKDF2 password hashing and verification documentation to the spe…
randilt b0afd37
Add PBKDF2 algorithm implementation to the specification
randilt be53244
Update ballerina/hash.bal
randilt 49781ca
Enhance PBKDF2 hashing function to have an enum for algorithm param
randilt fbeaadd
Merge branch 'PBKDF2-support' of https://github.com/randilt/module-ba…
randilt 096e08e
Update PBKDF2 hashing proposal hashPbkdf2 func
randilt 75e1ca2
Add HmacAlgorithm enum for PBKDF2 and update related functions
randilt 92b2dba
Fix algorithm parameter documentation and update default value in has…
randilt 94dbed3
Rename validatePBKDF2Algorithm method to validatePbkdf2Algorithm for …
randilt 176b244
Add minimum memory cost constant for PBKDF2 and update validation logic
randilt 85a6f0f
Fix formatting in error message for minimum memory cost in PBKDF2 val…
randilt 709dbc3
Refactor error messages in Argon2 and Bcrypt tests to use string inte…
randilt ce4da8e
Add password hashing constants and refactor formatting methods for BC…
randilt 0e29066
Update ballerina/hash.bal
randilt 19b5260
Introduce HmacAlgorithm enum for PBKDF2 hashing API
randilt 1d832b1
Update the spec for Pbkdf2 APIs
randilt 2029369
Remove default parameters for BCrypt, Argon2, and PBKDF2 in PasswordU…
randilt 3a5bac0
Update spec for PBKDF2
randilt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.