The following message was encoded using a simple algorithm:

!kzsaain zhps V !vW

Please try to explain how it works.

  • $\begingroup$ Seems more like (very simple) cryptography to me. $\endgroup$
    – SQB
    Commented Oct 3, 2014 at 11:15

1 Answer 1


The message reads "Hi! I love puzzles!".

It was encrypted using a ROT variant and written backwards.

The ROT variant starts with e mapped to z then as it descends through the alphabet the encrypted characters ascend. When it reaches p, it skips one letter, presumably to avoid being invertible. Then once it runs out of letters at the end z is mapped to a.

e f g h i j k l m n o p q r s t u v w x y z
z y x w v u t s r q p n m l k j i h g f e a

The first 4 letters of the alphabet appear to be excluded.

  • $\begingroup$ Good job! And actually the first 4 letters are replaced with code. $\endgroup$
    – warspyking
    Commented Oct 2, 2014 at 0:36
  • $\begingroup$ It was the first 4 letters as far as I know were c o d e instead of a b c d $\endgroup$
    – warspyking
    Commented Oct 2, 2014 at 1:04
  • $\begingroup$ The ROT variant you have isn't quite right - 'z' should map to 'e', but in the message they have become 'a's. $\endgroup$
    – Rob Watts
    Commented Oct 2, 2014 at 2:40
  • $\begingroup$ @RobWatts You're right, of course - I worked out the skipped letter as I working it out but forgot it by the time I was writing out an answer. $\endgroup$
    – Miniman
    Commented Oct 2, 2014 at 4:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.