Help getting the md5 module to work

Paul Rubin http
Sat Mar 20 03:03:53 EST 2004


"Amy G" <amy-g-art at cox.net> writes:

> >>> n.update("help")
> >>> n.hexdigest()
> '657f8b8da628ef83cf69101b6817150a'
> 
> But I run FreeBSD 5.0 and when I execute
> $ echo help | openssl md5
> 45b758a4f518f3ff31363696132f5f5a
> 
> What gives?  What am I missing here?
> 
> Thanks in advance for shedding some light on my "easy" question.

Try n.update("help\n").



More information about the Python-list mailing list