I got an array
int key[128] = {1,0,1,0,0,1, .........., 0,1,0}
I want to convert this array to
unsigned char key1[16] = {0x__,0x__,...,0x__}
for example if
from key[0] to key[7] is 10100011, then key1[0] = 0xa3
I need use this new array for AES encryption