fr.paris.lutece.portal.service.util
Class CryptoService
java.lang.Object
fr.paris.lutece.portal.service.util.CryptoService
public final class CryptoService
- extends Object
The Class CryptoService.
|
Method Summary |
static String |
encrypt(String strDataToEncrypt,
String strAlgorithm)
Encrypt a data using an algorithm defined in lutece.properties |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
encrypt
public static String encrypt(String strDataToEncrypt,
String strAlgorithm)
- Encrypt a data using an algorithm defined in lutece.properties
- Parameters:
strDataToEncrypt - The data to encryptstrAlgorithm - the algorithm
- Returns:
- The encrypted string
Copyright © 2013 Mairie de Paris. All Rights Reserved.