I can explain a little from the decryption perspective :)
This is a "simple substitution cipher" - you can read about substitution ciphers here
http://en.wikipedia.org/wiki/Substitution_cipher
That means that each letter in the encrypted message stands for exactly
1 letter in the original (or "plaintext") message and that it always
stands for the same letter. This kind of cipher is easy to break
if you have a long message (we did not) or if you might know a word in
the message (because you know in a general sort of way what the message
is about - via information you have received through other
channels.) We do know that this message might contain a word like
Didymos, February, month, sale, striped, ATB, etc. David gave us
one letter to start with, and also maintained spaces between words (and
even capitalization), which saves a lot of time.
If you have a long message you just tally up the number of times each letter appears in the encrypted message, e.g.
A 3
B 17
C 4
etc., and then you compare to the frequency of letters in normal
English (E, T, A are the most common) and play around with it til you
start getting words.
In a short message this is still a bit helpful because you know there
have got to be some vowels (as They Might Be Giants sing, "there's a
vowel in every word" LOL), and any letter occurring a couple times is
more likely to be a vowel, and there aren't usually very many
consonants in a row between vowels.
Here are the letters in our encrypted message
cc dd e g jj l mm qqq rr s t u w xx yy z
c, d, j, m, r, x, y might represent popular vowels (or might not, but it's worth a shot.)
So with the hint we have
Q urgy Xqxjtrd! Zylcemcj qd Wms!
I .... .i.....! ........ i. ...!
Very short words, such as "qd", are also very helpful because there are
only so many common ones and you can just run through them in your
head; in any case "d" can't be a vowel. The short word might be
one of these: if, in, is, it. Best look at where else the "d"
appears and see if any of these seem more likely, I don't think
"f" usually ends a word so at this point I thought n, s, t were the
most likely, and (unless it is "t") the encrypted letter before it (r)
probably represents a vowel - which would take care of a vowel in the
word "urgy" (which is very likely to be a verb. "Sell"? No
double letter. "Like"? No "q" representing i. But so
many other possibilities.)
I did not think I could get much farther on that track so I looked at
some other frequently appearing letter. The pattern "Xqx...d" was
very interesting because we know Q, we have narrowed D down to three
candidates, and X occurs twice (and has to be a consonant,) It should
be possible to narrow down X more. So I started scribbling
"Bib..(vowel?)(n,s,t)" "Did..(vowel?)(n,s,t)" ok, that's as far as I
went because it clearly had to be Didymos ;)
Instead of beginning with a frequency count and looking at
common/repeated letters and small words, I could simply have tried
matching our possible plaintext words to the message (Didymos,
February, "month", names of striped colorways) to see what is the same
length. That is a known plaintext attack. But I thought
that would either be very boring if it worked immediately, or totally
futile if David wrote something more cagey (like "I am the one with
..." and then described the colors or something about the name of the
colorway.)
Suppose you strongly expected "February" to be in there. You
would look for an 8 letter word and substitute it (you might also try 7
letter words if your "enemy" is known to be a poor speller.. LOL) and
then to check your guess you would propagate the letters in that word
to see if the rest of the puzzle looks likely or unlikely.
Q urgy Xqxjtrd! Zylcemcj qd Wms!
I .... .i.....! February i. ...!
Q urgy Xqxjtrd! Zylcemcj qd Wms!
I ...e .i.y...! February i. .a.!
This looks reasonable so far. I would go ahead and assume
"qd" is "is" and "Wms" must be the name of the wrap... there is only
one three-letter striped wrap and it does indeed have an "a" in the
middle. So one could plan one's strategic babywearing purchases
secure in the belief that the colorway on sale is very likely to be Jan.