fr.paris.lutece.portal.service.util
Class CryptoService

java.lang.Object
  extended by fr.paris.lutece.portal.service.util.CryptoService

public class CryptoService
extends java.lang.Object


Constructor Summary
CryptoService()
           
 
Method Summary
static java.lang.String encrypt(java.lang.String strDataToEncrypt, java.lang.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
 

Constructor Detail

CryptoService

public CryptoService()
Method Detail

encrypt

public static java.lang.String encrypt(java.lang.String strDataToEncrypt,
                                       java.lang.String strAlgorithm)
Encrypt a data using an algorithm defined in lutece.properties

Parameters:
strDataToEncrypt - The data to encrypt
Returns:
The encrypted string


Copyright © 2010 Mairie de Paris. All Rights Reserved.