I don't know how we map the compatible input cipher to output cipher.
Do we have any such chart or property table which says encrypt cipher "PBEWithSHA1AndDES" works with decrypt cipher "DES/CBC/PKCS5Padding"?
Because we can't map randomly any algorithm/mode/padding from encrypt to decrypt cipher.
Code:
// encryption step using regular PBE
Cipher cipher = Cipher.getInstance("PBEWithSHA1AndDES","BC");
// decryption step - using the local implementation
cipher = Cipher.getInstance("DES/CBC/PKCS5Padding");