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


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
 

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
strAlgorithm - the algorithm
Returns:
The encrypted string


Copyright © 2012 Mairie de Paris. All Rights Reserved.