I think they were misusing the word, perhaps because "mystery" didn't sound mysterious enough. :)

Those definitions you posted puzzle me too. I expected to see the first definition to be something related to secret codes. Specifically I would have said an encoded text, with an emphasis on the use of a system to encode by rearranging letters. rearranging looks weird; is that spelled correctly? I had no idea cipher had any relation to zero.