public class SymmetricCrypt extends Object
SymmetricCrypt
provides a symmetric encryption/decryption for
storing password in the repository. the encrypted passwords are only thought
for "security by obscurity" for example to hide plain text replication
password, but everyone that has access to this class can decrypt them.Modifier and Type | Field and Description |
---|---|
static String |
PREFIX
Deprecated.
encryption prefix
|
Constructor and Description |
---|
SymmetricCrypt()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static String |
decrypt(String s)
Deprecated.
Decrypts a string that was previously
encrypt(String) encrypted}. |
static String |
encrypt(String s)
Deprecated.
Encrypts the given string in a fairly secure way so that it can be
decrypted again. |
public static final String PREFIX
public static String encrypt(String s)
decrypted
again.s
- string to encryptpublic static String decrypt(String s)
encrypt(String)
encrypted}.s
- the data to decryptnull
if an internal error occurred"Copyright © 2010 - 2016 Adobe Systems Incorporated. All Rights Reserved"