A
Q. Which method is used to encode passwords using BCrypt?
Code:
PasswordEncoder encoder = new BCryptPasswordEncoder();
String hash = encoder.encode("mypassword");
String hash = encoder.encode("mypassword");
- Correct Answer - Option(A)
- Views: 3
- Filed under category Spring Security
- Hashtags:
Discusssion
Login to discuss.