public interface ByteDigester
Common interface for all digesters which receive a byte array message and return a byte array digest.
For a default implementation, see StandardByteDigester
.
byte[] digest(byte[] message)
Create a digest of the input message.
message
- the message to be digestedboolean matches(byte[] message, byte[] 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 checkCopyright © 2013 The JASYPT team. All rights reserved.