Package jodd.util

Class DigestEngine.JavaDigestEngine

    • Method Detail

      • digest

        public byte[] digest​(byte[] byteArray)
        Description copied from interface: DigestEngine
        Returns byte-hash of input byte array.
        Specified by:
        digest in interface DigestEngine
      • digest

        public byte[] digest​(java.io.File file)
                      throws java.io.IOException
        Description copied from interface: DigestEngine
        Returns digest of a file. Implementations may not read the whole file into the memory.
        Specified by:
        digest in interface DigestEngine
        Throws:
        java.io.IOException