just want to know if C# AES CRIJNDAEL encryption / decryption mode matching with PHP mcrypt_rijndael 256 bits?
i had a program which encrypt using cipher RIJNDAEL 256 bits, CBC.
after that i will base64 encode the ciphertext.
At PHP side, i will then base64_decode the cipher text, and decrypt it, but the results shown as junk.
anyone have any idea how to match C AES with PHP AES?
we are using the same mode CBC, same KEY and RIJNDAEL 256, the only different is, in PHP there is something call IV, but the CRIJNDAEL, it mention something named KEYCHAIN, so in order to encrypt , i will have to do e.g.
aes.MakeKey(KEY, KEYCHAIN)
so i assume the KEYCHAIN is actually refer to IV.
all helps are appreciated!