Java AES Decrypting problem
问题 I have been tasked with decrypting a file in Java that has been encrypted using the following criteria: AES encryption algorithm with 128-bit key, ECB mode and PKCS7 padding. The encrypted file format is: - first byte is hex 0x31 – specifying encryption method used (1 for AES) - followed by the encrypted bytes of the input file I must also download the file, so here is my attempt so far: The download code, I skip the first byte here as it is not required and is not encrypted: final String