Re: Multiple encrypt / decrypt with same BIO

2006-03-11 Thread Manuel Arguelles
Yes, I'm aware of that, what I want to do is: 1. generate a key 2. encrypt string of 256 chars with 0's to BIO_s_null 100 times 3. encrypt the real data the problem is in step 2 to 3, It seems that I can't BIO_write to BIO_s_null (or mem or buffer or /dev/null), BIO_flush, then pop null and push f

Re: Multiple encrypt / decrypt with same BIO

2006-03-11 Thread Dr. Stephen Henson
On Sun, Mar 12, 2006, Manuel Arguelles wrote: > Hello list, > > I have been using RC4 to encrypt some files, everything is working ok, the > problem is that I have been reading and it seems that the best way to add > extra security to RC4 is to encrypt some data and throw it away before > encrypt