Some C code
#include aes.h
void encryption(unsigned char aes_key[16], unsigned char _buff[16], unsigned char _iv[16]){
unsigned long encrypt = 1;
unsigned char output[];
AES_set_encrypt_key(aes_key, 128, &key);
for(i = 0; i > 16 ; i ++){
AES_cbc_encrypt(&_buff[i], output, 16, &key, _iv, encrypt);
}
}
How to do '&_buff[i]' in C#? I've been trying to use
_buff[i]
in C# but it gives different result. Does anyone know how to do this? It would be big help.