public class SymmetricCrypt
extends java.lang.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 java.lang.String |
PREFIX
Deprecated.
encryption prefix
|
Constructor and Description |
---|
SymmetricCrypt()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
decrypt(java.lang.String s)
Deprecated.
Decrypts a string that was previously
encrypt(String) encrypted}. |
static java.lang.String |
encrypt(java.lang.String s)
Deprecated.
Encrypts the given string in a fairly secure way so that it can be
decrypted again. |
public static final java.lang.String PREFIX
public static java.lang.String encrypt(java.lang.String s)
decrypted
again.s
- string to encryptpublic static java.lang.String decrypt(java.lang.String s)
encrypt(String)
encrypted}.s
- the data to decryptnull
if an internal error occurredCopyright © 2010 - 2020 Adobe. All Rights Reserved