Working k=2 enc