Re: 3des and plain-encrypted size

2009-04-08 Thread José Hidalgo C .
Thanks!!! I solved with EVP_CIPHER_CTX_set_padding(&ctx,0), and padding the string manually On Sun, Apr 5, 2009 at 8:07 AM, Ger Hobbelt wrote: > This has to do with padding, which is at least 1 byte, and always > ensures input + padding is an integer multiple of the block size. > Hence 8 inp

Re: 3des and plain-encrypted size

2009-04-05 Thread Ger Hobbelt
This has to do with padding, which is at least 1 byte, and always ensures input + padding is an integer multiple of the block size. Hence 8 input + 1 byte minimum padding ==> 8 bytes input + 8 bytes padding. See what happens when you feed it, for instance, 5 bytes of input: resulting file should b