| |
|
| java.lang.Object vqwiki.utils.Encryption
Encryption | public class Encryption (Code) | | Provide capability for encrypting and decrypting values. Inspired by an
example from http://www.devx.com/assets/sourcecode/10387.zip.
author: Ryan Holliday |
Method Summary | |
public static String | decrypt(String encryptedString) Unencrypt a String value using the DES encryption algorithm.
Parameters: encryptedString - The encrypted String value that is to be unencrypted. | public static String | encrypt(String unencryptedString) Encrypt a String value using the DES encryption algorithm.
Parameters: unencryptedString - The unencrypted String value that is to be encrypted. |
ENCRYPTION_KEY | final public static String ENCRYPTION_KEY(Code) | | |
decrypt | public static String decrypt(String encryptedString)(Code) | | Unencrypt a String value using the DES encryption algorithm.
Parameters: encryptedString - The encrypted String value that is to be unencrypted. An unencrypted version of the String that was passed to this method. |
encrypt | public static String encrypt(String unencryptedString) throws Exception(Code) | | Encrypt a String value using the DES encryption algorithm.
Parameters: unencryptedString - The unencrypted String value that is to be encrypted. An encrypted version of the String that was passed to this method. |
|
|
|