Liferay 6.0.5

com.liferay.portal.kernel.util
Interface Digester

All Known Implementing Classes:
DigesterImpl

public interface Digester


Field Summary
static String DEFAULT_ALGORITHM
           
static String ENCODING
           
static String MD5
           
static String SHA
           
 
Method Summary
 String digest(String text)
           
 String digest(String algorithm, String... text)
           
 String digestHex(String text)
           
 String digestHex(String algorithm, String... text)
           
 byte[] digestRaw(String text)
           
 byte[] digestRaw(String algorithm, String... text)
           
 

Field Detail

DEFAULT_ALGORITHM

static final String DEFAULT_ALGORITHM
See Also:
Constant Field Values

ENCODING

static final String ENCODING
See Also:
Constant Field Values

MD5

static final String MD5
See Also:
Constant Field Values

SHA

static final String SHA
See Also:
Constant Field Values
Method Detail

digest

String digest(String text)

digest

String digest(String algorithm,
              String... text)

digestHex

String digestHex(String text)

digestHex

String digestHex(String algorithm,
                 String... text)

digestRaw

byte[] digestRaw(String text)

digestRaw

byte[] digestRaw(String algorithm,
                 String... text)

Liferay 6.0.5