B
Bill Cunningham
the function ?_bcrypt from the posix library has a parameter that
accepts in values of eights these variables are know as key and data and
they are both char *. I can think of course of a big iterating function that
can use for and use it to iterate values of eight but I would like to have a
simpler way. I know that this doesn't work
char key[2*8]="The is key to crypt by\n";
The function only accepts bytes in multiples of 8. This function can be
found at man cbc_crypt. For the length parameter I use sizeof data. What
about-
int i=8;
for (;i<sizeof data;i(i*2)++)
Of course I could always type my data and key and manually iterate. Can
something like this be done?
cbc_encrypt(work with multiples of 8's,...) ?
B
accepts in values of eights these variables are know as key and data and
they are both char *. I can think of course of a big iterating function that
can use for and use it to iterate values of eight but I would like to have a
simpler way. I know that this doesn't work
char key[2*8]="The is key to crypt by\n";
The function only accepts bytes in multiples of 8. This function can be
found at man cbc_crypt. For the length parameter I use sizeof data. What
about-
int i=8;
for (;i<sizeof data;i(i*2)++)
Of course I could always type my data and key and manually iterate. Can
something like this be done?
cbc_encrypt(work with multiples of 8's,...) ?
B