public class DigesterImpl
extends Object
implements com.liferay.portal.kernel.util.Digester
Constructor and Description |
---|
DigesterImpl() |
Modifier and Type | Method and Description |
---|---|
String |
digest(ByteBuffer byteBuffer) |
String |
digest(InputStream inputStream) |
String |
digest(String text) |
String |
digest(String algorithm,
ByteBuffer byteBuffer) |
String |
digest(String algorithm,
InputStream inputStream) |
String |
digest(String algorithm,
String... text) |
String |
digestBase64(ByteBuffer byteBuffer) |
String |
digestBase64(InputStream inputStream) |
String |
digestBase64(String text) |
String |
digestBase64(String algorithm,
ByteBuffer byteBuffer) |
String |
digestBase64(String algorithm,
InputStream inputStream) |
String |
digestBase64(String algorithm,
String... text) |
String |
digestHex(ByteBuffer byteBuffer) |
String |
digestHex(InputStream inputStream) |
String |
digestHex(String text) |
String |
digestHex(String algorithm,
ByteBuffer byteBuffer) |
String |
digestHex(String algorithm,
InputStream inputStream) |
String |
digestHex(String algorithm,
String... text) |
byte[] |
digestRaw(ByteBuffer byteBuffer) |
byte[] |
digestRaw(String text) |
byte[] |
digestRaw(String algorithm,
ByteBuffer byteBuffer) |
byte[] |
digestRaw(String algorithm,
InputStream inputStream) |
byte[] |
digestRaw(String algorithm,
String... text) |
public String digest(ByteBuffer byteBuffer)
digest
in interface com.liferay.portal.kernel.util.Digester
public String digest(InputStream inputStream)
digest
in interface com.liferay.portal.kernel.util.Digester
public String digest(String text)
digest
in interface com.liferay.portal.kernel.util.Digester
public String digest(String algorithm, ByteBuffer byteBuffer)
digest
in interface com.liferay.portal.kernel.util.Digester
public String digest(String algorithm, InputStream inputStream)
digest
in interface com.liferay.portal.kernel.util.Digester
public String digest(String algorithm, String... text)
digest
in interface com.liferay.portal.kernel.util.Digester
public String digestBase64(ByteBuffer byteBuffer)
digestBase64
in interface com.liferay.portal.kernel.util.Digester
public String digestBase64(InputStream inputStream)
digestBase64
in interface com.liferay.portal.kernel.util.Digester
public String digestBase64(String text)
digestBase64
in interface com.liferay.portal.kernel.util.Digester
public String digestBase64(String algorithm, ByteBuffer byteBuffer)
digestBase64
in interface com.liferay.portal.kernel.util.Digester
public String digestBase64(String algorithm, InputStream inputStream)
digestBase64
in interface com.liferay.portal.kernel.util.Digester
public String digestBase64(String algorithm, String... text)
digestBase64
in interface com.liferay.portal.kernel.util.Digester
public String digestHex(ByteBuffer byteBuffer)
digestHex
in interface com.liferay.portal.kernel.util.Digester
public String digestHex(InputStream inputStream)
digestHex
in interface com.liferay.portal.kernel.util.Digester
public String digestHex(String text)
digestHex
in interface com.liferay.portal.kernel.util.Digester
public String digestHex(String algorithm, ByteBuffer byteBuffer)
digestHex
in interface com.liferay.portal.kernel.util.Digester
public String digestHex(String algorithm, InputStream inputStream)
digestHex
in interface com.liferay.portal.kernel.util.Digester
public String digestHex(String algorithm, String... text)
digestHex
in interface com.liferay.portal.kernel.util.Digester
public byte[] digestRaw(ByteBuffer byteBuffer)
digestRaw
in interface com.liferay.portal.kernel.util.Digester
public byte[] digestRaw(String text)
digestRaw
in interface com.liferay.portal.kernel.util.Digester
public byte[] digestRaw(String algorithm, ByteBuffer byteBuffer)
digestRaw
in interface com.liferay.portal.kernel.util.Digester
public byte[] digestRaw(String algorithm, InputStream inputStream)
digestRaw
in interface com.liferay.portal.kernel.util.Digester
public byte[] digestRaw(String algorithm, String... text)
digestRaw
in interface com.liferay.portal.kernel.util.Digester