<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'><div>So why is vector in your code? Including irrelevant parts just makes it harder for others to help you.<br></div><div><br></div><div>Rewrite your Pascal code to use the same variables as the VB code!<br></div><div><br></div><div class="zmail_extra"><div id="1"><div><br></div><div> ---- On Sun, 15 Nov 2015 06:56:09 -0500 <b>Gabriele Cappelletto <cappellettogabriele@yahoo.it></b> wrote ----<br></div></div><div><br></div><blockquote style="border-left: 1px solid #cccccc; padding-left: 6px; margin:0 0 0 5px"><div text="#000000" bgcolor="#FFFFFF"><div>But the cipther constructor does not refer to vector, but the
    variable IV. Vector is not used in this example<br></div></div></blockquote></div><div><br></div></div></body></html>