public final class CryptoService extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
encrypt(String strDataToEncrypt,
String strAlgorithm)
Encrypt a data using an algorithm defined in lutece.properties
|
static String |
getCryptoKey()
Get the cryptographic key of the application
|
public static String encrypt(String strDataToEncrypt, String strAlgorithm)
strDataToEncrypt - The data to encryptstrAlgorithm - the algorithmpublic static String getCryptoKey()
Copyright © 2016 City of Paris. All rights reserved.