Constructor and Description |
---|
DesEncoder() |
Modifier and Type | Method and Description |
---|---|
String |
encode(String rawPassword)
Encode the raw password.
|
String |
getKey() |
boolean |
matches(String rawPassword,
String encodedPassword)
Verify the encoded password obtained from storage matches the submitted raw
password after it too is encoded.
|
void |
setKey(String key) |
public String encode(String rawPassword)
Encoder
public boolean matches(String rawPassword, String encodedPassword)
Encoder
public String getKey()
public void setKey(String key)
Copyright © 2021. All rights reserved.