md5 from python different then md5 from command line

Marius Ursache ursache.marius at gmail.com
Sun May 7 06:53:07 EDT 2006


> echo adds a newline:
>
>    >>> import md5
>    >>> test = md5.new("marius\n")
>    >>> print test.hexdigest()
>    0f0f60ac801a9eec2163083a22307deb
> 
> Just


Thanks, that was it ;)




More information about the Python-list mailing list