SecretEncryptionService
@Deprecated @ThreadSafe public class EncryptionServiceImpl extends Object implements EncryptionService
ENCRYPTED_PRIVATE_KEY_PREFIX
Constructor and Description |
---|
EncryptionServiceImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
@NotNull String |
decrypt(@Nullable String data)
Deprecated.
Set of complementary methods
EncryptionService.encrypt(String) and EncryptionService.decrypt(String) provide means
to obfuscate sensitive data. |
@NotNull String |
encrypt(@Nullable String stringToEncrypt)
Deprecated.
Set of complementary methods
EncryptionService.encrypt(String) and EncryptionService.decrypt(String) provide means
to obfuscate sensitive data. |
public EncryptionServiceImpl() throws EncryptionException
EncryptionException
@NotNull public @NotNull String encrypt(@Nullable @Nullable String stringToEncrypt) throws EncryptionException
EncryptionService
EncryptionService.encrypt(String)
and EncryptionService.decrypt(String)
provide means
to obfuscate sensitive data.encrypt
in interface EncryptionService
stringToEncrypt
- string to be encryptedEncryptionException
- when encryption failed@NotNull public @NotNull String decrypt(@Nullable @Nullable String data) throws EncryptionException
EncryptionService
EncryptionService.encrypt(String)
and EncryptionService.decrypt(String)
provide means
to obfuscate sensitive data.decrypt
in interface EncryptionService
data
- string to be decryptedEncryptionException
- when decryption failedCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.