plain_text: The string to be encrypted. key_hex: The 16-byte key as a hexadecimal string. iv_hex: The 16-byte IV as a hexadecimal string. # which is equivalent to PKCS5 for AES's 16-byte block size). ...