mirror of
https://github.com/spring-projects/spring-security.git
synced 2026-04-17 14:30:27 +00:00
Creating a new SecureRandom instance on every call causes unnecessary performance overhead. This change: - Deprecates BCrypt.gensalt(String, int) method - Modifies BCryptPasswordEncoder constructors to create and reuse SecureRandom instances - Maintains backward compatibility All existing tests pass. Closes gh-17824 Signed-off-by: Yerin Lee <rt8632@naver.com>