@Deprecated public interface EncryptionService
Modifier and Type | Field and Description |
---|---|
static String |
ENCRYPTED_PRIVATE_KEY_PREFIX
Deprecated.
"-----BEG" (that's how most private keys start) after encryption starts with this value.
|
Modifier and Type | Method and Description |
---|---|
String |
decrypt(String data)
Deprecated.
Set of complementary methods
encrypt(String) and decrypt(String) provide means
to obfuscate sensitive data. |
String |
encrypt(String data)
Deprecated.
Set of complementary methods
encrypt(String) and decrypt(String) provide means
to obfuscate sensitive data. |
static final String ENCRYPTED_PRIVATE_KEY_PREFIX
@NotNull String encrypt(@Nullable String data) throws EncryptionException
encrypt(String)
and decrypt(String)
provide means
to obfuscate sensitive data.data
- string to be encryptedEncryptionException
- when encryption failed@NotNull String decrypt(@Nullable String data) throws EncryptionException
encrypt(String)
and decrypt(String)
provide means
to obfuscate sensitive data.data
- string to be decryptedEncryptionException
- when decryption failedCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.