Answer the question
In order to leave comments, you need to log in
What is the equivalent of mcrypt_decrypt code using openssl_decrypt in PHP?
What is the analogue of this code using openssl_decrypt
?
mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $key, $encrypted, MCRYPT_MODE_CBC, $iv)
Answer the question
In order to leave comments, you need to log in
For a 32 byte key:
openssl_decrypt($encrypted, "aes-256-cbc", $key, OPENSSL_RAW_DATA | OPENSSL_ZERO_PADDING, $iv)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question