As a general rule, jasypt expects encrypted configuration parameters to appear surrounded by "ENC(...)".
For example, in appConfig.properties file I have following properties:
databaseurl = sampleurl
username = username
password = password
If I encrypt my password; if I get 'G6N718UuyPE5bHyWKyuLQSm02auQPUtm' as encrypted value and surrounded this value with ENC("") function in .properties file. password=ENC(G6N718UuyPE5bHyWKyuLQSm02auQPUtm)
How to decrypt this value? Should I code such a way that only content of the ENC function is taken and decrypted? or there is any other way.
[1]: http://www.jasypt.org/encrypting-configuration.html I am using this link as reference.