Archive for the ‘Security’ Category

Hacked my DEF CON 18 badge

Friday, July 30th, 2010

I was only able willing to stay for part of the first day of DEF CON this year, but I’m glad I did. One of the things they’ve done for the last five years or so is put microcontrollers in the badges, and put in little Easter eggs for people to search for. This year’s [...]

WordPress and Content Security Policy

Monday, April 12th, 2010

Lately, I have been implementing the server logic for Content Security Policy in WordPress. Today, I posted my first patch to WordPress, still a work in progress, which adds an administration panel for configuring CSP. One of the features I’m rather happy with is “Suggest Policy”, which analyzes the content in the user’s blog and recommends a policy based on the content types and sources it finds.

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.

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.

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.