|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StringDigester
Common interface for all digesters which receive a String message and return a String digest.
For a default implementation, see StandardStringDigester
.
Method Summary | |
---|---|
String |
digest(String message)
Create a digest of the input message. |
boolean |
matches(String message,
String digest)
Check whether a message matches a digest, managing aspects like salt, hashing iterations, etc. |
Method Detail |
---|
String digest(String message)
Create a digest of the input message.
message
- the message to be digested
boolean matches(String message, String digest)
Check whether a message matches a digest, managing aspects like salt, hashing iterations, etc. (if applicable).
message
- the message to checkdigest
- the digest to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |