Hi
I noticed that the md5 computed with md5 module from python is
different then the md5 sum computed with md5sum utility (on slackware
and gentoo).
i.e.
$echo marius|md5sum
0f0f60ac801a9ee c2163083a22307d eb -
[color=blue][color=green][color=darkred]
>>> test = md5.new("marius ")
>>> print test.hexdigest( )[/color][/color][/color]
242aa1a97769109 065e3b4df359bcf c9
Any idea why? and how to get the same md5 sum for both calls?
Thanks
I noticed that the md5 computed with md5 module from python is
different then the md5 sum computed with md5sum utility (on slackware
and gentoo).
i.e.
$echo marius|md5sum
0f0f60ac801a9ee c2163083a22307d eb -
[color=blue][color=green][color=darkred]
>>> test = md5.new("marius ")
>>> print test.hexdigest( )[/color][/color][/color]
242aa1a97769109 065e3b4df359bcf c9
Any idea why? and how to get the same md5 sum for both calls?
Thanks
Comment