<div dir="ltr">Sorry, still not getting the same result, now with the command:<div><br></div><div>echo 005863330 | openssl enc -e -des-ede3-cbc -K 'b2aec78eb50e05f2a60b9efa20b82c903e6cad4f3bd2027b' -iv 00000000 -nosalt | openssl enc -base64<br></div><div><br></div><div>I get:<br></div><div><br></div><div>H6cr2yN8oWXn2RxiDqnXLg==<br></div><div><br></div><div>but I should get:</div><div><br></div><div>H6cr2yN8oWUVY3a6/Vaaow==<br></div><div><br></div><div><br></div><div>BTW I get the same result if the text in the echo is between '' or is read from a text file.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-24 18:07 GMT+01:00 David García <span dir="ltr"><<a href="mailto:garcia.narbona@gmail.com" target="_blank">garcia.narbona@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You are right Viktor, that was my problem.<div><br></div><div>Thank you very much for your help Viktor and Michael.</div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">2015-11-24 18:00 GMT+01:00 Viktor Dukhovni <span dir="ltr"><<a href="mailto:openssl-users@dukhovni.org" target="_blank">openssl-users@dukhovni.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Tue, Nov 24, 2015 at 05:55:42PM +0100, David García wrote:<br>
<br>
> openssl enc -e -des-ede3-cbc -in myfile.txt -k<br>
> 'b2aec78eb50e05f2a60b9efa20b82c903e6cad4f3bd2027b' -iv 00000000 -nosalt |<br>
> openssl enc -base64<br>
<br>
</span>Please read Michael's message carefully.  Note the comment about<br>
"-k" vs. "-K" (upper-case).<br>
<span><font color="#888888"><br>
--<br>
        Viktor.<br>
</font></span><div><div>_______________________________________________<br>
openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/mailman/listinfo/openssl-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>David</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">David</div>
</div>