You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2009/05/11 17:34:25 UTC

svn commit: r773606 - /ant/core/trunk/docs/manual/CoreTasks/checksum.html

Author: bodewig
Date: Mon May 11 15:34:24 2009
New Revision: 773606

URL: http://svn.apache.org/viewvc?rev=773606&view=rev
Log:
show how to use stronger hash algos

Modified:
    ant/core/trunk/docs/manual/CoreTasks/checksum.html

Modified: ant/core/trunk/docs/manual/CoreTasks/checksum.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/checksum.html?rev=773606&r1=773605&r2=773606&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/CoreTasks/checksum.html (original)
+++ ant/core/trunk/docs/manual/CoreTasks/checksum.html Mon May 11 15:34:24 2009
@@ -76,7 +76,7 @@
     <td valign="top">algorithm</td>
     <td valign="top">Specifies the algorithm to be used to
       compute the checksum. Defaults to &quot;MD5&quot;.
-      Other popular algorithms like &quot;SHA&quot; may be used
+      Other popular algorithms like &quot;SHA&quot; or &quot;SHA-512&quot; may be used
       as well.
     </td>
     <td valign="top" align="center">No</td>
@@ -214,8 +214,8 @@
 isMD5ok to either true or false, depending upon the result.
 
 <p><b>Example 5</b></p>
-<blockquote><pre>&lt;checksum file=&quot;foo.bar&quot; algorithm=&quot;SHA&quot; fileext=&quot;asc&quot;/&gt;</pre></blockquote>
-Generates a SHA checksum for foo.bar and stores the checksum in the destination file
+<blockquote><pre>&lt;checksum file=&quot;foo.bar&quot; algorithm=&quot;SHA-512&quot; fileext=&quot;asc&quot;/&gt;</pre></blockquote>
+Generates a SHA-512 checksum for foo.bar and stores the checksum in the destination file
 foo.bar.asc.  foo.bar.asc is overwritten only if foo.bar is newer than itself.
 
 <p><b>Example 6</b></p>