I tried this code from openssl wiki which generate a cipher text via aes-256 algorithm. The length of input plain text is 512 bytes. The length of output, however, is difference. PHP generate an output which length is 512 bytes, whereas the C generate a 528 bytes long cipher text.
why there exist such a difference and how could I use an aes-256 algorithm to encrypt an text in PHP and then decrypt it in C?