main logo
Subject: Re: Generating file checksum
Author: Ed Leafe
Posted: 2007/05/31 14:29:52
 
View Entire Thread
New Search


On May 31, 2007, at 3:27 PM, Richard Kaye wrote:

> Yep. On my list of possible solutions. I need to make sure that
> whatever
> checksum I generate can live in an XML file and Craig's function
> appears
> to return a binary string. So I think I have to strconv() the hash to
> turn it into some kind of ASCII. (The consumer of this checksum is
> a web
> service written in Python. I need to be sure that we can both
> recognize
> any given hash.)

MD5 sums are usually represented as hex strings rather than in a
direct binary string format. Most MD5 utilities have an alternative
for retrieving the value in hex rather than in binary format.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com





 
©2007 Ed Leafe
<-- Prior Message New Search Next Message -->