Working out encipher bugs