public class BCryptPasswordEncoder extends Object implements PasswordEncoder
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
LOG_ROUNDS |
| Constructor and Description |
|---|
BCryptPasswordEncoder() |
| Modifier and Type | Method and Description |
|---|---|
String |
encode(String rawPassword) |
boolean |
matches(String rawPassword,
String encodedPassword) |
static final int LOG_ROUNDS
public String encode(String rawPassword)
encode in interface PasswordEncoderpublic boolean matches(String rawPassword, String encodedPassword)
matches in interface PasswordEncoderCopyright © 2017. All rights reserved.