Monthly Archives: March 2010

Compression before encryption

If you’re going to be compressing and encrypting some data, you should do the compression first. Why? There are several reasons: Compressing it last won’t reduce the file size much. Good encryption should make any input data (especially redundant data) … Continue reading

Posted in Uncategorized | 2 Comments

Test MySQL password strength

Newer versions of MySQL stores passwords using a double SHA-1 hash. Because of this, administrators can’t tell what someone’s password is. What if you want to make sure no users are using weak passwords? This is a simple Python script … Continue reading

Posted in Uncategorized | Tagged | Leave a comment