On Mon, Oct 25, 2004 at 09:21:16AM -0500, Thomas T. Veldhouse wrote:
> Is there a command line tool to create an MD5 hash from a text string?  
> I would like to store encrypted passwords in a database, but I have 
> having a tough time finding a utility to create them for me.
> 
> Thanks in advance!
> 

$ echo -n "test" | md5sum         #  (NOTE the -n)
098f6bcd4621d373cade4e832627b4f6  -

$ python
  import md5
  print md5.new("test").hexdigest()
098f6bcd4621d373cade4e832627b4f6





_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list