Package org.jasypt.digest
Interface StringDigester
- All Known Implementing Classes:
PooledStringDigester
,StandardStringDigester
public interface StringDigester
Common interface for all digesters which receive a String message and return a String digest.
For a default implementation, see StandardStringDigester
.
- Since:
- 1.0
- Author:
- Daniel Fernández
-
Method Summary
-
Method Details
-
digest
Create a digest of the input message.
- Parameters:
message
- the message to be digested- Returns:
- the digest
-
matches
Check whether a message matches a digest, managing aspects like salt, hashing iterations, etc. (if applicable).
- Parameters:
message
- the message to checkdigest
- the digest to check- Returns:
- TRUE if the message matches the digest, FALSE if not.
-