Definition at line 104 of file cryptoFunctions.cpp. 00104 { 00105 initCharArray(output, length); 00106 nullIvec(IVEC); 00107 AES_KEY key; 00108 AES_set_encrypt_key(iteration, LENGTH_ITERATION_WORD*8, &key); /*this one takes the bit length!!!*/ 00109 AES_cbc_encrypt(input, *output, length, &key, IVEC, AES_ENCRYPT); 00110 return length; 00111 }
|
1.5.1