Illegal Block Size Exception Input length must be multiple of 16 when decrypting with padded cipher
问题 In my application I am encrypting and decrypting data using secretKey. For that I am using AES algorithm. But I am getting exception in decrypt, one value out of three already encrypted values using secret key. Exception is: Illegal Block Size Exception Input length must be multiple of 16 when decrypting with padded cipher. Below is my code: Function to encyrpt value public static String symmetricEncrypt(String text, String secretKey) { BASE64Decoder decoder = new BASE64Decoder(); byte[] raw;