An exercise in building and breaking crypto.