<< Previous | Home | Next >>

MD5 Hash in Python 3000

I normally use Python to quickly calculate MD5 hashes, so you can imagine my surprise when after typing 'import md5' Python returned 'ImportError: No module named md5'.  It turns out that Python 3000 has decommissioned the md5 library in favor of hashlib, and it had been deprecated in Python 2.6...

>>> from hashlib import md5
>>> md5(bytes("password", "utf-8")).hexdigest()
'5f4dcc3b5aa765d61d8327deb882cf99'
Tags : ,
Social Bookmarks :  Add this post to Slashdot    Add this post to Digg    Add this post to Reddit    Add this post to Delicious    Add this post to Stumble it    Add this post to Google    Add this post to Technorati    Add this post to Bloglines    Add this post to Facebook    Add this post to Furl    Add this post to Windows Live    Add this post to Yahoo!

Export this post as PDF document  Export this post to PDF document

Starting MySQL

C:\_apps\mysql-5.1.30-winx64>bin\mysqld.exe --console
090109 18:17:34  InnoDB: Started; log sequence number 0 46409
090109 18:17:34 [Note] Event Scheduler: Loaded 0 events
090109 18:17:34 [Note] bin\mysqld.exe: ready for connections.
Version: '5.1.30-community'  socket: ''  port: 3306  MySQL Community Server (GPL)
Social Bookmarks :  Add this post to Slashdot    Add this post to Digg    Add this post to Reddit    Add this post to Delicious    Add this post to Stumble it    Add this post to Google    Add this post to Technorati    Add this post to Bloglines    Add this post to Facebook    Add this post to Furl    Add this post to Windows Live    Add this post to Yahoo!

Export this post as PDF document  Export this post to PDF document

Elasticfox - Firefox Extension for Amazon EC2

A Firefox extension for interacting with Amazon EC2 web service...

http://developer.amazonwebservices.com/connect/entry.jspa?externalID=609&categoryID=88
Tags : , , ,
Social Bookmarks :  Add this post to Slashdot    Add this post to Digg    Add this post to Reddit    Add this post to Delicious    Add this post to Stumble it    Add this post to Google    Add this post to Technorati    Add this post to Bloglines    Add this post to Facebook    Add this post to Furl    Add this post to Windows Live    Add this post to Yahoo!

Export this post as PDF document  Export this post to PDF document

Amazon Web Services (EC2 & S3)

Let me

Read more...

Social Bookmarks :  Add this post to Slashdot    Add this post to Digg    Add this post to Reddit    Add this post to Delicious    Add this post to Stumble it    Add this post to Google    Add this post to Technorati    Add this post to Bloglines    Add this post to Facebook    Add this post to Furl    Add this post to Windows Live    Add this post to Yahoo!