Expected Behavior

Argon2PasswordEncoder should have defaults that match OWASP Cheat Cheat Recommendations.

Current Behavior

Current behavior is close but the cheat cheat has been updated from 15 MiB to 19 MiB of memory. This based on the memory bandwidth of modern GPUs as explained in the comment on the pull request from @Sc00bz linked above.

Context

Was evaluating Spring Security's defaults against OWASP's Cheat Sheet Recommendations for Argon2 usage. It seems that you made a similar update in 2022 via gh-10506.