|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.util.crypto.CryptoUtil
@Deprecated public final class CryptoUtil
This class provides some simple functions to encrypt or decrypt data. This implementation is based on the javax.crypto.* API and the Sun implementation. The algoritm used is the DES algorithm (symetric)
| Method Summary | |
|---|---|
static java.lang.String |
decrypt(java.lang.String strDataToDecrypt,
java.lang.String strKey)
Deprecated. This function decrypt a given string using the DES algorithm. |
static java.lang.String |
encrypt(java.lang.String strDataToEncrypt,
java.lang.String strKey)
Deprecated. This function encrypt a given string using the DES algorithm. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String encrypt(java.lang.String strDataToEncrypt,
java.lang.String strKey)
strDataToEncrypt - The String to encryptstrKey - The generated key used to encrypt
public static java.lang.String decrypt(java.lang.String strDataToDecrypt,
java.lang.String strKey)
strDataToDecrypt - The String to decryptstrKey - The generated key used to decrypt
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||