"Marius Ursache" <[EMAIL PROTECTED]> writes:
> >    >>> import md5
> >    >>> test = md5.new("marius\n")
> >    >>> print test.hexdigest()
> >    0f0f60ac801a9eec2163083a22307deb
> 
> Thanks, that was it ;)

Also, the -n option suppresses the newline from echo:

$ echo -n marius | md5sum
242aa1a97769109065e3b4df359bcfc9  -
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to