i fetched such problem in my project
how can we decrypting 128 bit AES encrypted text in php with cipher mode ECB and padding mode PKCS7
i fetched such problem in my project
how can we decrypting 128 bit AES encrypted text in php with cipher mode ECB and padding mode PKCS7
You can probably use mcrypt.
But may I ask why you're encrypting with ECB mode at all? Remember the known problems with that?
mcrypt_decrypt('rijndael-128', $key, $data, 'ecb');
You will have to manually remove the padding.