byte[] cipherByte = readByte(new File(inputFile));
String text = new String(cipherByte);
String saltString = text.substring(0, 12);
String cipherText = text.substring(12, text.length());
BASE64Decoder decoder = new BASE64Decoder();
byte[] saltArray = decoder.decodeBuffer(saltString);
byte[] cipherTextArray = decoder.decodeBuffer(cipherText);
char[] passwordChar = password.toCharArray();
// Create the PBEKeySpec with the given password
PBEKeySpec keySpec = new PBEKeySpec(passwordChar);