<?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: Hash Calculator to Get, Compute and Calculate MD5 and SHA1 File Checksum or Hash Value</title>
	<atom:link href="http://www.mydigitallife.info/2007/01/14/hash-calculator-to-get-compute-and-calculate-md5-and-sha1-file-checksum-or-hash-value/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mydigitallife.info/2007/01/14/hash-calculator-to-get-compute-and-calculate-md5-and-sha1-file-checksum-or-hash-value/</link>
	<description>Living Digitally and Electronically</description>
	<lastBuildDate>Wed, 25 Nov 2009 22:24:19 +0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ppow</title>
		<link>http://www.mydigitallife.info/2007/01/14/hash-calculator-to-get-compute-and-calculate-md5-and-sha1-file-checksum-or-hash-value/comment-page-1/#comment-613128</link>
		<dc:creator>ppow</dc:creator>
		<pubDate>Wed, 11 Nov 2009 20:37:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/01/14/hash-calculator-to-get-compute-and-calculate-md5-and-sha1-file-checksum-or-hash-value/#comment-613128</guid>
		<description>The same stuff can be done easily in Java with MessageDigest class. 

import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.security.DigestInputStream;
import java.security.MessageDigest;
import java.util.Formatter;

public class HashFunctionTest {

    public static String calculateHash(MessageDigest algorithm,
            String fileName) throws Exception{

        FileInputStream     fis = new FileInputStream(fileName);
        BufferedInputStream bis = new BufferedInputStream(fis);
        DigestInputStream   dis = new DigestInputStream(bis, algorithm);

        // read the file and update the hash calculation
        while (dis.read() != -1);

        // get the hash value as byte array
        byte[] hash = algorithm.digest();

        return byteArray2Hex(hash);
    }

    private static String byteArray2Hex(byte[] hash) {
        Formatter formatter = new Formatter();
        for (byte b : hash) {
            formatter.format(&quot;%02x&quot;, b);
        }
        return formatter.toString();
    }

    public static void main(String[] args) throws Exception {
        String fileName = &quot;javablogging.png&quot;;

        MessageDigest sha1 = MessageDigest.getInstance(&quot;SHA1&quot;);
        MessageDigest md5  = MessageDigest.getInstance(&quot;MD5&quot;);        

        System.out.println(calculateHash(sha1, fileName));
        System.out.println(calculateHash(md5, fileName));
    }
}</description>
		<content:encoded><![CDATA[<p>The same stuff can be done easily in Java with MessageDigest class. </p>
<p>import java.io.BufferedInputStream;<br />
import java.io.FileInputStream;<br />
import java.security.DigestInputStream;<br />
import java.security.MessageDigest;<br />
import java.util.Formatter;</p>
<p>public class HashFunctionTest {</p>
<p>    public static String calculateHash(MessageDigest algorithm,<br />
            String fileName) throws Exception{</p>
<p>        FileInputStream     fis = new FileInputStream(fileName);<br />
        BufferedInputStream bis = new BufferedInputStream(fis);<br />
        DigestInputStream   dis = new DigestInputStream(bis, algorithm);</p>
<p>        // read the file and update the hash calculation<br />
        while (dis.read() != -1);</p>
<p>        // get the hash value as byte array<br />
        byte[] hash = algorithm.digest();</p>
<p>        return byteArray2Hex(hash);<br />
    }</p>
<p>    private static String byteArray2Hex(byte[] hash) {<br />
        Formatter formatter = new Formatter();<br />
        for (byte b : hash) {<br />
            formatter.format(&#8221;%02x&#8221;, b);<br />
        }<br />
        return formatter.toString();<br />
    }</p>
<p>    public static void main(String[] args) throws Exception {<br />
        String fileName = &#8220;javablogging.png&#8221;;</p>
<p>        MessageDigest sha1 = MessageDigest.getInstance(&#8221;SHA1&#8243;);<br />
        MessageDigest md5  = MessageDigest.getInstance(&#8221;MD5&#8243;);        </p>
<p>        System.out.println(calculateHash(sha1, fileName));<br />
        System.out.println(calculateHash(md5, fileName));<br />
    }<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Windows 7 ISO Image Edition Switcher Free Download for Direct Convert &#187; My Digital Life</title>
		<link>http://www.mydigitallife.info/2007/01/14/hash-calculator-to-get-compute-and-calculate-md5-and-sha1-file-checksum-or-hash-value/comment-page-1/#comment-608633</link>
		<dc:creator>Windows 7 ISO Image Edition Switcher Free Download for Direct Convert &#187; My Digital Life</dc:creator>
		<pubDate>Fri, 30 Oct 2009 18:27:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/01/14/hash-calculator-to-get-compute-and-calculate-md5-and-sha1-file-checksum-or-hash-value/#comment-608633</guid>
		<description>[...] patching the ISO image, user should verify the SHA-1 hash of the final ISO file and compare the hash with official hash value of Windows 7 ISO posted on [...]</description>
		<content:encoded><![CDATA[<p>[...] patching the ISO image, user should verify the SHA-1 hash of the final ISO file and compare the hash with official hash value of Windows 7 ISO posted on [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Windows 7 ISO Downloads and Product Keys Live in MSDN TechNet &#187; My Digital Life</title>
		<link>http://www.mydigitallife.info/2007/01/14/hash-calculator-to-get-compute-and-calculate-md5-and-sha1-file-checksum-or-hash-value/comment-page-1/#comment-591204</link>
		<dc:creator>Windows 7 ISO Downloads and Product Keys Live in MSDN TechNet &#187; My Digital Life</dc:creator>
		<pubDate>Fri, 07 Aug 2009 17:36:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/01/14/hash-calculator-to-get-compute-and-calculate-md5-and-sha1-file-checksum-or-hash-value/#comment-591204</guid>
		<description>[...] untouched and unmodified versions, as the ISOs are having the same hash values (generated by any hash calculators) despite having the different [...]</description>
		<content:encoded><![CDATA[<p>[...] untouched and unmodified versions, as the ISOs are having the same hash values (generated by any hash calculators) despite having the different [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Download 32-bit &#38; 64-bit Windows 7 RTM Build 7600.16385 Original Untouched MSDN/TechNet Leaked Retail DVD ISO &#187; My Digital Life</title>
		<link>http://www.mydigitallife.info/2007/01/14/hash-calculator-to-get-compute-and-calculate-md5-and-sha1-file-checksum-or-hash-value/comment-page-1/#comment-588553</link>
		<dc:creator>Download 32-bit &#38; 64-bit Windows 7 RTM Build 7600.16385 Original Untouched MSDN/TechNet Leaked Retail DVD ISO &#187; My Digital Life</dc:creator>
		<pubDate>Fri, 24 Jul 2009 18:49:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/01/14/hash-calculator-to-get-compute-and-calculate-md5-and-sha1-file-checksum-or-hash-value/#comment-588553</guid>
		<description>[...] SHA-1 checksum for the original Windows 7 DVD ISO have been posted earlier, where user can use a hash calculator to compare the hash [...]</description>
		<content:encoded><![CDATA[<p>[...] SHA-1 checksum for the original Windows 7 DVD ISO have been posted earlier, where user can use a hash calculator to compare the hash [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Windows 7 RTM Build 7600.16385 Official SHA-1 and MD5 Checksum Hash for Original MSDN/TechNet DVD ISO Images &#187; My Digital Life</title>
		<link>http://www.mydigitallife.info/2007/01/14/hash-calculator-to-get-compute-and-calculate-md5-and-sha1-file-checksum-or-hash-value/comment-page-1/#comment-588513</link>
		<dc:creator>Windows 7 RTM Build 7600.16385 Official SHA-1 and MD5 Checksum Hash for Original MSDN/TechNet DVD ISO Images &#187; My Digital Life</dc:creator>
		<pubDate>Fri, 24 Jul 2009 16:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/01/14/hash-calculator-to-get-compute-and-calculate-md5-and-sha1-file-checksum-or-hash-value/#comment-588513</guid>
		<description>[...] home-baked user-made Windows 7 DVD ISO which based on extracted original files, it&#8217;s wise to compare the MD5 or SHA-1 hash checksum value of the downloaded ISO against the official SHA1, MD5 and/or CRC hash check sum of official DVD ISO [...]</description>
		<content:encoded><![CDATA[<p>[...] home-baked user-made Windows 7 DVD ISO which based on extracted original files, it&#8217;s wise to compare the MD5 or SHA-1 hash checksum value of the downloaded ISO against the official SHA1, MD5 and/or CRC hash check sum of official DVD ISO [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kuiz</title>
		<link>http://www.mydigitallife.info/2007/01/14/hash-calculator-to-get-compute-and-calculate-md5-and-sha1-file-checksum-or-hash-value/comment-page-1/#comment-519257</link>
		<dc:creator>Kuiz</dc:creator>
		<pubDate>Sun, 29 Jun 2008 15:22:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/01/14/hash-calculator-to-get-compute-and-calculate-md5-and-sha1-file-checksum-or-hash-value/#comment-519257</guid>
		<description>0cc175b9c0f1b6a831c399e269772661
92eb5ffee6ae2fec3ad71c777531578f
4a8a08f09d37b73795649038408b5f33
¿cual sigue?

gracias.. lo necesito con urgencia</description>
		<content:encoded><![CDATA[<p>0cc175b9c0f1b6a831c399e269772661<br />
92eb5ffee6ae2fec3ad71c777531578f<br />
4a8a08f09d37b73795649038408b5f33<br />
¿cual sigue?</p>
<p>gracias.. lo necesito con urgencia</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Install XCache PHP Accelerator in Linux by Compiling from Source &#187; My Digital Life</title>
		<link>http://www.mydigitallife.info/2007/01/14/hash-calculator-to-get-compute-and-calculate-md5-and-sha1-file-checksum-or-hash-value/comment-page-1/#comment-173030</link>
		<dc:creator>Install XCache PHP Accelerator in Linux by Compiling from Source &#187; My Digital Life</dc:creator>
		<pubDate>Tue, 27 Mar 2007 09:35:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/01/14/hash-calculator-to-get-compute-and-calculate-md5-and-sha1-file-checksum-or-hash-value/#comment-173030</guid>
		<description>[...] the &#8220;xcache.admin.user&#8221; and md5 checksum value of &#8220;xcache.admin.pass&#8221;. Try MD5 tools to generate the correct value, or use the following command to generate the MD5 for your [...]</description>
		<content:encoded><![CDATA[<p>[...] the &#8220;xcache.admin.user&#8221; and md5 checksum value of &#8220;xcache.admin.pass&#8221;. Try MD5 tools to generate the correct value, or use the following command to generate the MD5 for your [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Decrypted Title Keys and Volume Unique Key for BackupHDDVD to Bypass HD-DVD AACS DRM &#187; My Digital Life</title>
		<link>http://www.mydigitallife.info/2007/01/14/hash-calculator-to-get-compute-and-calculate-md5-and-sha1-file-checksum-or-hash-value/comment-page-1/#comment-82681</link>
		<dc:creator>Decrypted Title Keys and Volume Unique Key for BackupHDDVD to Bypass HD-DVD AACS DRM &#187; My Digital Life</dc:creator>
		<pubDate>Sun, 14 Jan 2007 17:36:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mydigitallife.info/2007/01/14/hash-calculator-to-get-compute-and-calculate-md5-and-sha1-file-checksum-or-hash-value/#comment-82681</guid>
		<description>[...] Field 1 is the SHA1 Hash value of the VTKF000.AACS file on your HDDVD disk. To get the hash value or checksum of VTKF0000.AACS file, use any of the hash calculator listed in this calculate hash tutorial. [...]</description>
		<content:encoded><![CDATA[<p>[...] Field 1 is the SHA1 Hash value of the VTKF000.AACS file on your HDDVD disk. To get the hash value or checksum of VTKF0000.AACS file, use any of the hash calculator listed in this calculate hash tutorial. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
