<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Delphi Encryption Compendium (DEC) 5.2 for D2009 released</title>
	<atom:link href="http://blog.digivendo.com/2008/11/delphi-encryption-compendium-dec-52-for-d2009-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.digivendo.com/2008/11/delphi-encryption-compendium-dec-52-for-d2009-released/</link>
	<description>Delphi Development &#38; More</description>
	<lastBuildDate>Mon, 19 Jul 2010 09:14:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: Scott Gast</title>
		<link>http://blog.digivendo.com/2008/11/delphi-encryption-compendium-dec-52-for-d2009-released/comment-page-1/#comment-5301</link>
		<dc:creator>Scott Gast</dc:creator>
		<pubDate>Fri, 09 Jul 2010 19:44:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.digivendo.com/?p=135#comment-5301</guid>
		<description>I am attempting to match a SHA1 hash created in PHP, but no luck.  I have installed DEC 5.2 for Delphi 5 and am trying a very simple task:

Self.lblHash1.Caption := DECHash.THash_SHA1.CalcBinary, Self.editPassword.Text, TFormat_HEXL);

Self.editPassword.Text contains the original password whose hash I am attempting to match.

Also, what function is used (and could you please explain the parameters for that function) to re-create the original password once I use CalcBinary to create the hash?

Thank you.
Scott Gast</description>
		<content:encoded><![CDATA[<p>I am attempting to match a SHA1 hash created in PHP, but no luck.  I have installed DEC 5.2 for Delphi 5 and am trying a very simple task:</p>
<p>Self.lblHash1.Caption := DECHash.THash_SHA1.CalcBinary, Self.editPassword.Text, TFormat_HEXL);</p>
<p>Self.editPassword.Text contains the original password whose hash I am attempting to match.</p>
<p>Also, what function is used (and could you please explain the parameters for that function) to re-create the original password once I use CalcBinary to create the hash?</p>
<p>Thank you.<br />
Scott Gast</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arvid</title>
		<link>http://blog.digivendo.com/2008/11/delphi-encryption-compendium-dec-52-for-d2009-released/comment-page-1/#comment-5205</link>
		<dc:creator>Arvid</dc:creator>
		<pubDate>Mon, 08 Mar 2010 23:25:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.digivendo.com/?p=135#comment-5205</guid>
		<description>Hi Maestro3,

thank you for your comment. I will have a look at it as soon as I have some spare time.

Regards,
Arvid</description>
		<content:encoded><![CDATA[<p>Hi Maestro3,</p>
<p>thank you for your comment. I will have a look at it as soon as I have some spare time.</p>
<p>Regards,<br />
Arvid</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maestro3</title>
		<link>http://blog.digivendo.com/2008/11/delphi-encryption-compendium-dec-52-for-d2009-released/comment-page-1/#comment-5202</link>
		<dc:creator>maestro3</dc:creator>
		<pubDate>Thu, 25 Feb 2010 05:46:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.digivendo.com/?p=135#comment-5202</guid>
		<description>Is it possible, and if so how, to calculate MD5 and SHA1 keys to confirm if the downloaded file is identical with a published SHA1 and/or MD5 hash?

I tried using DEC V5.2 but got incorrect results (perhaps misunderstanding the code...)

E.g. I tried the file from http://sourceforge.net/projects/clonezilla/files/clonezilla_live_stable/clonezilla-live-1.2.3-27.iso/download
and compared with the checksums herein
http://clonezilla.org/download/sourceforge/stable/checksums.php
but the results for both were incorrect

This is my code I used:
FHash:=THash_MD5.Create;
// or FHash:=THash_SHA1.Create;
with FHash do begin
try
  Init;
  CalcFile(FFName, TFormat_HEXL);
  Done;
finally
  mmo.Lines.Add(Format(&#039;File: %s&#039;, [edFName.Text]));
  mmo.Lines.Add(DigestStr(TFormat_HEX)]));
  Free;
end;

What is wrong as with another package (DCPcrypt package) I got the correct/same answers.</description>
		<content:encoded><![CDATA[<p>Is it possible, and if so how, to calculate MD5 and SHA1 keys to confirm if the downloaded file is identical with a published SHA1 and/or MD5 hash?</p>
<p>I tried using DEC V5.2 but got incorrect results (perhaps misunderstanding the code&#8230;)</p>
<p>E.g. I tried the file from <a href="http://sourceforge.net/projects/clonezilla/files/clonezilla_live_stable/clonezilla-live-1.2.3-27.iso/download" rel="nofollow">http://sourceforge.net/projects/clonezilla/files/clonezilla_live_stable/clonezilla-live-1.2.3-27.iso/download</a><br />
and compared with the checksums herein<br />
<a href="http://clonezilla.org/download/sourceforge/stable/checksums.php" rel="nofollow">http://clonezilla.org/download/sourceforge/stable/checksums.php</a><br />
but the results for both were incorrect</p>
<p>This is my code I used:<br />
FHash:=THash_MD5.Create;<br />
// or FHash:=THash_SHA1.Create;<br />
with FHash do begin<br />
try<br />
  Init;<br />
  CalcFile(FFName, TFormat_HEXL);<br />
  Done;<br />
finally<br />
  mmo.Lines.Add(Format(&#8216;File: %s&#8217;, [edFName.Text]));<br />
  mmo.Lines.Add(DigestStr(TFormat_HEX)]));<br />
  Free;<br />
end;</p>
<p>What is wrong as with another package (DCPcrypt package) I got the correct/same answers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arvid</title>
		<link>http://blog.digivendo.com/2008/11/delphi-encryption-compendium-dec-52-for-d2009-released/comment-page-1/#comment-4966</link>
		<dc:creator>Arvid</dc:creator>
		<pubDate>Thu, 19 Nov 2009 09:10:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.digivendo.com/?p=135#comment-4966</guid>
		<description>Hi figo,

I already considered setting up a project page for the DEC. Check back to my blog, I&#039;ll publish it here as soon as I am ready.

But: Regarding your current problem there is no one-step solution. The DEC 3 had been out for several years, even the DEC 5.1 was available since ~ 2004 iirc. There are so many breaking changes which where made long before I had taken care of the source, so every compatibility issue is a time-consuming challange on it&#039;s own. Sorry to say that.

Cheers,
Arvid</description>
		<content:encoded><![CDATA[<p>Hi figo,</p>
<p>I already considered setting up a project page for the DEC. Check back to my blog, I&#8217;ll publish it here as soon as I am ready.</p>
<p>But: Regarding your current problem there is no one-step solution. The DEC 3 had been out for several years, even the DEC 5.1 was available since ~ 2004 iirc. There are so many breaking changes which where made long before I had taken care of the source, so every compatibility issue is a time-consuming challange on it&#8217;s own. Sorry to say that.</p>
<p>Cheers,<br />
Arvid</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Figo</title>
		<link>http://blog.digivendo.com/2008/11/delphi-encryption-compendium-dec-52-for-d2009-released/comment-page-1/#comment-4952</link>
		<dc:creator>Figo</dc:creator>
		<pubDate>Wed, 18 Nov 2009 16:58:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.digivendo.com/?p=135#comment-4952</guid>
		<description>Hi !

Is there any forum support / help for DEC 5.2 ?

A used 2.2 version of DEC, but impossible to decrypt 2.2 crypted material with 5.2 routines.

Here is my Encode routine for 2.2 :

  with TCipher_Blowfish.Create do
  try
    IncludeHashKey := True;
    InitKey(AnsiString(myKey), nil);
    try
      DecodeStream(InputStream, OutputStream, InputStream.Size - Hash.DigestKeySize);
    except
      Result := False;
    end;

2.2 version uses SHA1 default class for key, and include it at begining of crypted stream, so I&#039;ve try (and a lot of others ways) someting like this with DEC 5.2 :

  Buf := AllocMem(20); // Size of Hash.Digest in 2.2
  InputStream.Read(Buf^, 20);

  with DECCipher.TCipher_Blowfish.Create do
  try
    Mode := cmCBCx; // CTSx doesn&#039;t work
    Init(Buf);      // Init(THash_SHA1.KDFx(myKey, RandomBinary(16), Context.KeySize) doesn&#039;t work better
    DecodeStream(InputStream, OutputStream, InputStream.Size - 20);
   finally
     Free;
   end;

Nothing is working, i&#039;m desperate...
Someone to help me ?
Thanks...</description>
		<content:encoded><![CDATA[<p>Hi !</p>
<p>Is there any forum support / help for DEC 5.2 ?</p>
<p>A used 2.2 version of DEC, but impossible to decrypt 2.2 crypted material with 5.2 routines.</p>
<p>Here is my Encode routine for 2.2 :</p>
<p>  with TCipher_Blowfish.Create do<br />
  try<br />
    IncludeHashKey := True;<br />
    InitKey(AnsiString(myKey), nil);<br />
    try<br />
      DecodeStream(InputStream, OutputStream, InputStream.Size &#8211; Hash.DigestKeySize);<br />
    except<br />
      Result := False;<br />
    end;</p>
<p>2.2 version uses SHA1 default class for key, and include it at begining of crypted stream, so I&#8217;ve try (and a lot of others ways) someting like this with DEC 5.2 :</p>
<p>  Buf := AllocMem(20); // Size of Hash.Digest in 2.2<br />
  InputStream.Read(Buf^, 20);</p>
<p>  with DECCipher.TCipher_Blowfish.Create do<br />
  try<br />
    Mode := cmCBCx; // CTSx doesn&#8217;t work<br />
    Init(Buf);      // Init(THash_SHA1.KDFx(myKey, RandomBinary(16), Context.KeySize) doesn&#8217;t work better<br />
    DecodeStream(InputStream, OutputStream, InputStream.Size &#8211; 20);<br />
   finally<br />
     Free;<br />
   end;</p>
<p>Nothing is working, i&#8217;m desperate&#8230;<br />
Someone to help me ?<br />
Thanks&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arvid</title>
		<link>http://blog.digivendo.com/2008/11/delphi-encryption-compendium-dec-52-for-d2009-released/comment-page-1/#comment-3382</link>
		<dc:creator>Arvid</dc:creator>
		<pubDate>Mon, 29 Jun 2009 10:21:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.digivendo.com/?p=135#comment-3382</guid>
		<description>&lt;a href=&quot;#comment-3381&quot; rel=&quot;nofollow&quot;&gt;@Jordi&lt;/a&gt; 
Hi Jordi,

the package is complete.

The DEC 5 is a complete rewrite of the DEC 3.x. You will likely experience incompatibilities, especially when talking about the proprietary block chaining modes and the CipherManager components you&#039;d mentioned.

Hagen already removed the CipherManager wrapper components in the year 2006. I cannot port something to Delphi 2009 what isn&#039;t there.

Cheers,
Arvid

P.S.: The 2006 version is found here: http://www.michael-puff.de/Developer/Delphi/Importe/Hagen_Reddmann/Archiv/</description>
		<content:encoded><![CDATA[<p><a href="#comment-3381" rel="nofollow">@Jordi</a><br />
Hi Jordi,</p>
<p>the package is complete.</p>
<p>The DEC 5 is a complete rewrite of the DEC 3.x. You will likely experience incompatibilities, especially when talking about the proprietary block chaining modes and the CipherManager components you&#8217;d mentioned.</p>
<p>Hagen already removed the CipherManager wrapper components in the year 2006. I cannot port something to Delphi 2009 what isn&#8217;t there.</p>
<p>Cheers,<br />
Arvid</p>
<p>P.S.: The 2006 version is found here: <a href="http://www.michael-puff.de/Developer/Delphi/Importe/Hagen_Reddmann/Archiv/" rel="nofollow">http://www.michael-puff.de/Developer/Delphi/Importe/Hagen_Reddmann/Archiv/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jordi</title>
		<link>http://blog.digivendo.com/2008/11/delphi-encryption-compendium-dec-52-for-d2009-released/comment-page-1/#comment-3381</link>
		<dc:creator>Jordi</dc:creator>
		<pubDate>Mon, 29 Jun 2009 10:01:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.digivendo.com/?p=135#comment-3381</guid>
		<description>Hi!

I want to upgrade to Delphi 2009 and I need to use the Cipher tools. And the components uploaded in Torry&#039;s page are uncompleted. Where can I download the correct version? Any link?

Thanks!!</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>I want to upgrade to Delphi 2009 and I need to use the Cipher tools. And the components uploaded in Torry&#8217;s page are uncompleted. Where can I download the correct version? Any link?</p>
<p>Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arvid</title>
		<link>http://blog.digivendo.com/2008/11/delphi-encryption-compendium-dec-52-for-d2009-released/comment-page-1/#comment-2599</link>
		<dc:creator>Arvid</dc:creator>
		<pubDate>Tue, 02 Jun 2009 11:36:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.digivendo.com/?p=135#comment-2599</guid>
		<description>Hi Thomas,

&lt;a href=&quot;#comment-2597&quot; rel=&quot;nofollow&quot;&gt;@Thomas&lt;/a&gt;
Torry missed the last update from Michael&#039;s Website so the checksum was different. I started an update process for the Torry entry but this will take some time as it has to be reviewed by them.

Thank you for pointing to this!

Cheers,
Arvid</description>
		<content:encoded><![CDATA[<p>Hi Thomas,</p>
<p><a href="#comment-2597" rel="nofollow">@Thomas</a><br />
Torry missed the last update from Michael&#8217;s Website so the checksum was different. I started an update process for the Torry entry but this will take some time as it has to be reviewed by them.</p>
<p>Thank you for pointing to this!</p>
<p>Cheers,<br />
Arvid</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://blog.digivendo.com/2008/11/delphi-encryption-compendium-dec-52-for-d2009-released/comment-page-1/#comment-2597</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Tue, 02 Jun 2009 10:55:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.digivendo.com/?p=135#comment-2597</guid>
		<description>Hi Arvid.

It seems that the downloads at torry.net do not match the MD5 and SHA256-haashes (I did not test the others). However, the download from Luckie&#039;s page works fine and the hashes are correct.</description>
		<content:encoded><![CDATA[<p>Hi Arvid.</p>
<p>It seems that the downloads at torry.net do not match the MD5 and SHA256-haashes (I did not test the others). However, the download from Luckie&#8217;s page works fine and the hashes are correct.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: K. A.</title>
		<link>http://blog.digivendo.com/2008/11/delphi-encryption-compendium-dec-52-for-d2009-released/comment-page-1/#comment-128</link>
		<dc:creator>K. A.</dc:creator>
		<pubDate>Tue, 25 Nov 2008 20:11:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.digivendo.com/?p=135#comment-128</guid>
		<description>Very nice Job!

Thank you!</description>
		<content:encoded><![CDATA[<p>Very nice Job!</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
