Hello, > Dear OpenSSL community fellows. I'm a new OpenSSL user. I have met my first > headache recently. I have a plain text file to encrypt and pass to my > friend. Afterwards, he decrypts the file. Everything is fine except for a > small piece of junk code attached at the end of the original txt file. It's > pretty annoying. Can anyone give some hints where this piece of junk code > from? Thank you very much! Looks like not removed padding. Low level crypto functions like (for example) AES_cbc_encrypt() on encryption add padding but on decryption you must remove padding yourself. You should provide more information.
Best regards, -- Marek Marcola <[EMAIL PROTECTED]> ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]