-
- All Superinterfaces:
InitializeSupport
- All Known Implementing Classes:
DigesterImpl,DsaDigester,MacDigester,PbeDigester,PoolDigester
public interface Digester extends InitializeSupport
- Author:
- Loc Ha
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Digestercopy()byte[]digest(byte[] message)byte[]digest(byte[] message, Out<byte[]> salt)booleanverify(byte[] message, byte[] digested)booleanverify(byte[] message, byte[] digested, byte[] salt)-
Methods inherited from interface com.appslandia.common.base.InitializeSupport
destroy, initialize
-
-
-
-
Method Detail
-
digest
byte[] digest(byte[] message) throws CryptoException- Throws:
CryptoException
-
verify
boolean verify(byte[] message, byte[] digested) throws CryptoException- Throws:
CryptoException
-
digest
byte[] digest(byte[] message, Out<byte[]> salt) throws CryptoException- Throws:
CryptoException
-
verify
boolean verify(byte[] message, byte[] digested, byte[] salt) throws CryptoException- Throws:
CryptoException
-
copy
Digester copy()
-
-