Class DigesterImpl

Object
com.liferay.portal.util.DigesterImpl
All Implemented Interfaces:
com.liferay.portal.kernel.util.Digester

public class DigesterImpl extends Object implements com.liferay.portal.kernel.util.Digester
Author:
Brian Wing Shun Chan, Alexander Chow, Connor McKay
  • Constructor Details

    • DigesterImpl

      public DigesterImpl()
  • Method Details

    • digest

      public String digest(ByteBuffer byteBuffer)
      Specified by:
      digest in interface com.liferay.portal.kernel.util.Digester
    • digest

      public String digest(InputStream inputStream)
      Specified by:
      digest in interface com.liferay.portal.kernel.util.Digester
    • digest

      public String digest(String text)
      Specified by:
      digest in interface com.liferay.portal.kernel.util.Digester
    • digest

      public String digest(String algorithm, ByteBuffer byteBuffer)
      Specified by:
      digest in interface com.liferay.portal.kernel.util.Digester
    • digest

      public String digest(String algorithm, InputStream inputStream)
      Specified by:
      digest in interface com.liferay.portal.kernel.util.Digester
    • digest

      public String digest(String algorithm, String... text)
      Specified by:
      digest in interface com.liferay.portal.kernel.util.Digester
    • digestBase64

      public String digestBase64(ByteBuffer byteBuffer)
      Specified by:
      digestBase64 in interface com.liferay.portal.kernel.util.Digester
    • digestBase64

      public String digestBase64(InputStream inputStream)
      Specified by:
      digestBase64 in interface com.liferay.portal.kernel.util.Digester
    • digestBase64

      public String digestBase64(String text)
      Specified by:
      digestBase64 in interface com.liferay.portal.kernel.util.Digester
    • digestBase64

      public String digestBase64(String algorithm, ByteBuffer byteBuffer)
      Specified by:
      digestBase64 in interface com.liferay.portal.kernel.util.Digester
    • digestBase64

      public String digestBase64(String algorithm, InputStream inputStream)
      Specified by:
      digestBase64 in interface com.liferay.portal.kernel.util.Digester
    • digestBase64

      public String digestBase64(String algorithm, String... text)
      Specified by:
      digestBase64 in interface com.liferay.portal.kernel.util.Digester
    • digestHex

      public String digestHex(ByteBuffer byteBuffer)
      Specified by:
      digestHex in interface com.liferay.portal.kernel.util.Digester
    • digestHex

      public String digestHex(InputStream inputStream)
      Specified by:
      digestHex in interface com.liferay.portal.kernel.util.Digester
    • digestHex

      public String digestHex(String text)
      Specified by:
      digestHex in interface com.liferay.portal.kernel.util.Digester
    • digestHex

      public String digestHex(String algorithm, ByteBuffer byteBuffer)
      Specified by:
      digestHex in interface com.liferay.portal.kernel.util.Digester
    • digestHex

      public String digestHex(String algorithm, InputStream inputStream)
      Specified by:
      digestHex in interface com.liferay.portal.kernel.util.Digester
    • digestHex

      public String digestHex(String algorithm, String... text)
      Specified by:
      digestHex in interface com.liferay.portal.kernel.util.Digester
    • digestRaw

      public byte[] digestRaw(ByteBuffer byteBuffer)
      Specified by:
      digestRaw in interface com.liferay.portal.kernel.util.Digester
    • digestRaw

      public byte[] digestRaw(String text)
      Specified by:
      digestRaw in interface com.liferay.portal.kernel.util.Digester
    • digestRaw

      public byte[] digestRaw(String algorithm, ByteBuffer byteBuffer)
      Specified by:
      digestRaw in interface com.liferay.portal.kernel.util.Digester
    • digestRaw

      public byte[] digestRaw(String algorithm, InputStream inputStream1)
      Specified by:
      digestRaw in interface com.liferay.portal.kernel.util.Digester
    • digestRaw

      public byte[] digestRaw(String algorithm, String... text)
      Specified by:
      digestRaw in interface com.liferay.portal.kernel.util.Digester