Package jodd.util
Class DigestEngine.JavaDigestEngine
- java.lang.Object
-
- jodd.util.DigestEngine.JavaDigestEngine
-
- All Implemented Interfaces:
DigestEngine
- Enclosing interface:
- DigestEngine
public static class DigestEngine.JavaDigestEngine extends java.lang.Object implements DigestEngine
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jodd.util.DigestEngine
DigestEngine.JavaDigestEngine
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]digest(byte[] byteArray)Returns byte-hash of input byte array.byte[]digest(java.io.File file)Returns digest of a file.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jodd.util.DigestEngine
digest, digestString, digestString, digestString
-
-
-
-
Method Detail
-
digest
public byte[] digest(byte[] byteArray)
Description copied from interface:DigestEngineReturns byte-hash of input byte array.- Specified by:
digestin interfaceDigestEngine
-
digest
public byte[] digest(java.io.File file) throws java.io.IOExceptionDescription copied from interface:DigestEngineReturns digest of a file. Implementations may not read the whole file into the memory.- Specified by:
digestin interfaceDigestEngine- Throws:
java.io.IOException
-
-