|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MessageDigestFactory
An interface to java.security.MessageDigest factories.
| Method Summary | |
|---|---|
String |
decodeBase64(String string)
Decodes a BASE64 string applying the UTF-8 encoding. |
String |
decodeBase64(String string,
String encoding)
Decodes a BASE64 string applying the specified encoding. |
String |
digest(String algorithm,
String string)
Computes a hash for the given string by applying platform's default encoding. |
String |
digest(String algorithm,
String string,
String encoding)
Computes a hash for the given string applying the specified encoding. |
String |
digest(String algorithm,
String salt,
String string,
String encoding)
Computes a hash for the given string using the given salt and applying the specified encoding. |
String |
encodeBase64(String string)
Encodes a BASE64 string applying the UTF-8 encoding. |
String |
encodeBase64(String string,
String encoding)
Encodes a BASE64 string applying the specified encoding. |
| Methods inherited from interface org.norther.tammi.core.base.ObjectFactory |
|---|
getInstance, getInstance, getInstance, getInstance, isLoaderSupported |
| Method Detail |
|---|
String digest(String algorithm,
String string)
throws NoSuchAlgorithmException
algorithm - the digest algorithm.string - the string to use.
NoSuchAlgorithmException - if the algorithm is unknown.
String digest(String algorithm,
String string,
String encoding)
throws NoSuchAlgorithmException
algorithm - the digest algorithm.string - the string to use.encoding - the character encoding.
NoSuchAlgorithmException - if the algorithm is unknown.
String digest(String algorithm,
String salt,
String string,
String encoding)
throws NoSuchAlgorithmException
algorithm - the digest algorithm.salt - the salt to use.string - the string to use.encoding - the character encoding.
NoSuchAlgorithmException - if the algorithm is unknown.String encodeBase64(String string)
string - the string to encode.
String encodeBase64(String string,
String encoding)
string - the string to encode.encoding - the character encoding.
String decodeBase64(String string)
string - the string to decode.
String decodeBase64(String string,
String encoding)
string - the string to decode.encoding - the character encoding.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||