On 10 sep 2008, at 18:34, Fredrik Lundh wrote:
oooh...
thanks :)
Python wrote:
>
>
'b1946ac92492d2 347c6235b4d2611 184'
>
</F>
>
>
>I'm trying to match the results of an md5 checksum done in a tcsh
>shell.
>I keep getting different results and can't find anything on google...
>here's an example:
>Arno@Computer: ~% echo "hello" | md5
>b1946ac92492d2 347c6235b4d2611 184
>Arno@Computer: ~% python
>Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
>[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
>Type "help", "copyright" , "credits" or "license" for more
>information.
>'5d41402abc4b2 a76b9719d911017 c592'
>shell.
>I keep getting different results and can't find anything on google...
>here's an example:
>Arno@Computer: ~% echo "hello" | md5
>b1946ac92492d2 347c6235b4d2611 184
>Arno@Computer: ~% python
>Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
>[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
>Type "help", "copyright" , "credits" or "license" for more
>information.
>>import md5
>>md5.new("hell o").hexdiges t()
>>md5.new("hell o").hexdiges t()
>import md5
>md5.new("hello \n").hexdigest( )
>md5.new("hello \n").hexdigest( )
>
</F>
>
thanks :)