AES 128 bit CTR partial file decryption with PHP
问题 This is not a duplicate post because I have looked everywhere and I can't find an answer to this. Its about partial decryption. Not full. I have a good knowledge of PHP but little knowledge about cryptography. I know the key and the iv of the crypted file. The file is decrypting fine as whole but the real issue arises when I try to decrypt the partial file from the middle. It decrypts fine when I try to decrypt the first 128kb of the file or 256kb or any length from the beginning of the file.