Fix bug that didn't allow calling cipher.reset() with null characters