Archive for the ‘Python’ Category

A-Star (A*) Algorithm in Python – Update

Monday, January 25th, 2010

Since there have been many requests over the years for the source code referenced in my A-Star (A*) Algorithm post, I decided to share it. I did a bit of refactoring too, as I have learned some neat things about Python in the years since I wrote that post, like list comprehensions. A cautionary note [...]

Python AES Implementation – Update

Saturday, April 4th, 2009

I fixed two bugs in my AES implementation. The first was a padding bug which resulted in the loss of up to a block of data when decrypting certain ciphertexts. The second bug was a more serious security problem caused by the use of a static initialization vector.

Python CIDR Block Converter

Friday, December 14th, 2007

I wrote a Python script that converts a CIDR Block into a list of individual IP addresses, one-per-line.

AES Tutorial / Python Implementation

Sunday, June 10th, 2007

I put together a series of slides as well as a Python implementation of AES, the symmetric-key cryptosystem.

8 Reasons Why Python Rocks

Monday, November 27th, 2006

Since I find myself giving this pitch to anyone who will listen, I decided to formalize my argument and put together some slides illustrating just a few of the many reasons why Python rocks.

RSS Feed Monitor – Update

Sunday, September 24th, 2006

I updated the RSS Feeds Monitor I wrote in Python last month to enable database logging as well as a debug mode which prints output to the console. Both the new code and the old code are available.

RSS Feed Monitor

Tuesday, August 22nd, 2006

I wrote a Python script that monitors RSS feeds for specified keywords and then sends emails to notify you of new posts.

PyRSA – RSA in Python

Saturday, June 18th, 2005

I implemented the public key cryptosystem RSA in Python. Check out the article I wrote about RSA or download the source code.

RSA Algorithm

Thursday, May 5th, 2005

I wrote an article on RSA, a popular public key encryption scheme. Eventually, I am going to implement RSA in Python.

Nearest Neighbor Classifier

Wednesday, March 23rd, 2005

I implemented the Nearest Neighbor Algorithm in Python. Nearest Neighbor has application in intelligent systems and is used to classify objects based on selected criteria. Here’s the source if you’re interested.