| java.lang.Object de.webman.util.security.EncryptUtil
EncryptUtil | public class EncryptUtil (Code) | | Utility class for encrypting strings using a MD5 algorithm.
author: Gregor Klinke version: $Revision: 1.2 $ |
decrypt | public static String decrypt(String str)(Code) | | takes a base64 encoded, encrypted string and decodes and decrypts it
Parameters: str - the string to decode the decrypted string |
encrypt | public static String encrypt(String str)(Code) | | encrypts a string and returns it base64 encoded
Parameters: str - the string to encode the base64 encoded string |
main | public static void main(String[] args)(Code) | | the main method
|
|
|