"Marius Ursache" <ursache.marius at gmail.com> 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 -