my matasano code (see cryptopals.com)