public class Base64SecretStore extends Object implements SecretStore
Base64 to obfuscate data.
Warning! Data obfuscated using this cipher are not secure. If attacker knows the obfuscated password they can decrypt it easily. When using this cipher consider limiting access to the configuration file to increase security level.
| Constructor and Description |
|---|
Base64SecretStore() |
| Modifier and Type | Method and Description |
|---|---|
String |
get(String encryptedData)
Decodes encryptedData using
Base64 |
String |
store(String plainTextData)
Encodes plainTextData using
Base64 |
public String store(String plainTextData)
Base64store in interface SecretStoreplainTextData - data in plain text which should be encryptedBase64public String get(String encryptedData)
Base64get in interface SecretStoreencryptedData - data which has been encrypted by using store(String)Copyright © 2023 Atlassian. All rights reserved.