public class AESCipher extends Object
| Constructor and Description |
|---|
AESCipher() |
| Modifier and Type | Method and Description |
|---|---|
static String |
decode(String salt,
String value)
Decodes a string with a given salt
|
static String |
encode(String salt,
String value)
Returns an encoded BASE64 string of the value.
|
public static String encode(String salt, String value) throws CipherException
salt - the salt to use for encodingvalue - value to encodeCipherExceptionpublic static String decode(String salt, String value) throws CipherException
salt - salt to use for decodingvalue - BASE64 value to decodeCipherExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.