any help???

---------- Forwarded message ----------
From: Bhaskar Roy <[EMAIL PROTECTED]>
Date: Aug 10, 2008 5:56 PM
Subject: org.apache.jetspeed.security.util.PBEPasswordTool Not working
To: Jetspeed Users List <[email protected]>

 Has anybody used this tool before?? I am trying to use this tool to decrypt
password, but I am getting following error -

Exception in thread "main" org.apache.jetspeed.security.SecurityException:
Unexpected security error at PBEPasswordTool from decode: Input length must
be multiple of 8 when decrypting with padded cipher
        at
org.apache.jetspeed.security.util.PBEPasswordTool.decode(PBEPasswordTool.java:93)
        at
org.apache.jetspeed.security.util.PBEPasswordTool.main(PBEPasswordTool.java:132)
Caused by: javax.crypto.IllegalBlockSizeException: Input length must be
multiple of 8 when decrypting with padded cipher
        at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
        at com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
        at com.sun.crypto.provider.SunJCE_ae.b(DashoA12275)
        at
com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineDoFinal(DashoA12275)
        at javax.crypto.Cipher.doFinal(DashoA12275)
        at
org.apache.jetspeed.security.util.PBEPasswordTool.decode(PBEPasswordTool.java:89)
        ... 1 more

Thanks in advance!
Bhaskar

Reply via email to