Event Stream Processor provides a pair of scripts useful for encrypting external adapter configuration values and testing decryption of the encrypted values.
The encrypt.sh/bat and decrypt.sh/bat are available at $ESP_HOME/adapters. These are independent utilities that can encrypt or decrypt using any independent keystore.
Values you need to supply include keystore, alias, and the keystore password.