Hi,
I am using Jasypt with Java binding in eXist. The script is:
declare namespace criptare = "java:org.jasypt.encryption.pbe.StandardPBEStringEncryptor";
let $constructorCriptare := criptare:new()
let $adaugareParola := criptare:setPassword($constructorCriptare, 'password')
let $textDeCriptat := 'text for encryption'
return criptare:encrypt($constructorCriptare, 'text for encryption')
But I got the following error:
exception while calling constructor public org.jasypt.encryption.pbe.StandardPBEStringEncryptor(): null
What do you think?
Thanks,
Claudius