Package | Description |
---|---|
org.ballerinalang.config.cipher |
Modifier and Type | Method and Description |
---|---|
String |
AESCipherTool.decrypt(String value)
This method is used to decrypt a given encrypted and base64 encoded value.
|
String |
AESCipherTool.encrypt(String value)
This method is used to encrypt and base64 encode a plain value.
|
Constructor and Description |
---|
AESCipherTool(Path userSecretFile)
Create an AESCipherTool instance by passing in the path of a file containing the user secret.
|
AESCipherTool(String userSecret)
Create an AESCipherTool instance by passing in a user secret string.
|
Copyright © 2018 WSO2. All rights reserved.