Thank you. I had got my 0 and 1 values for enc swopped around so I was
decrypting when trying to encrypt and vice versa.
do_crypt works as advertised when invoked correctly.
Thanks again - Douglas Laing
Nils Larsch wrote:
Douglas Laing wrote:
I copied the do_crypt routine (General encryption
\n", errorString);
printf("number we have left: %d\n", ctx.buf_len);
after
if(!EVP_CipherFinal_ex(&ctx, outbuf, &outlen))
Douglas Laing - Johannesburg
/* General encryption, decryption function example using FILE I/O and RC2
with an 80 bit key */
#include