<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
But the cipther constructor does not refer to vector, but the
variable IV. Vector is not used in this example<br>
<br>
<div class="moz-cite-prefix">Il 15/11/2015 12:44, DougC ha scritto:<br>
</div>
<blockquote
cite="mid:1510af65da5.ea6fd55f4987.1854466511911375630@moosemail.net"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div
style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;">
<div>After quick look I noticed that<br>
</div>
<div><br>
</div>
<div>var<br>
</div>
<div> Vector : array of Byte;<br>
</div>
<div><br>
</div>
<div> SetLength(Vector, 8);<br>
</div>
<div> Vector[0] := 1;<br>
</div>
<div> Vector[1] := 2;<br>
</div>
<div> Vector[2] := 3;<br>
</div>
<div> Vector[3] := 4;<br>
</div>
<div> Vector[4] := 5;<br>
</div>
<div> Vector[5] := 6;<br>
</div>
<div> Vector[6] := 7;<br>
</div>
<div> Vector[7] := 8;<br>
</div>
<div><br>
</div>
<div>does not match<br>
</div>
<div><br>
</div>
<div> Dim vector As String = "12345678"<br>
</div>
<div><br>
</div>
<div>Should be something like<br>
</div>
<div> Vector[0] := '1';<br>
</div>
<div> Vector[1] := '2';<br>
</div>
<div> Vector[2] := '3';<br>
</div>
<div> Vector[3] := '4';<br>
</div>
<div> Vector[4] := '5';<br>
</div>
<div> Vector[5] := '6';<br>
</div>
<div> Vector[6] := '7';<br>
</div>
<div> Vector[7] := '8';<br>
</div>
<div><br>
</div>
<div>I didn't look at the rest.<br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">--
_______________________________________________
Lazarus mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
</pre>
</blockquote>
<br>
</body>
</html>