How to decode the value of a password field?

Hi all,

I am creating an adapter using the wm ADK. I have a password field in the Administrative DSP for connection properties. The value of this field is stored in an encoded form in connection properties. I need to decode this and use it in my flow service. The encoding does not use Base64. So, is there any way to decode this value.
This is an urgent requirement. I would appreciate immediate help.

Thanks,
Rajesh

Did you try

bite[] encodedData = …//from resource
String s=new String(encodedData);

-Pauly