Tag Archives: secret code

Other methods of encryption

(This is part of a series of posts on different ways of hiding meaning in your knitting.)

Table of Contents: Embedding meaning in Your Knitting | Converting Words to Numbers | Making a grid | Asymmetry or Symmetry? | Converting grids into stitch patterns | Lace | Cables | Other Encodings | Summary of My Method | Addendum: Ribbing | Further Resources

Now we have come to the end of this series; I have finished describing my method for encoding words and numbers into grids and knitting. I’m going to finish up by summarizing some other techniques, both by other people and myself.

I have located two simple ways of knitting a block of text into a cipher that other people have come up with.

One is to knit as if you were writing, using purl bumps, colorwork, or slipped stitches. Writing is done in rows; knitting goes back and forth or round and round in rows. Admittedly, the mechanisms are slightly different. However, you can convert letters into binary and then knit the binary code in rows or rounds, where 0 is knit and 1 is purl. Take the word peace. Converted to binary, that’s 01110000 01100101 01100001 01100011 01100101. In knitting, that would be k1, p3, k5, p2, k2, p1, k1, p1, k1, p2, k4, p1. You could go on to write other words as well and end up with a random-looking collection of knits and purls, or you could knit just peace as ribbing with a 40 stitch repeat.

Another option would be to convert the words into Morse code and make dots and dashes by purling or using colorwork and leaving gaps in between for the spaces between letters. A dash is three times as long as a dot. Here is peace in Morse code: dot dash dash dot, dot, dot dash, dash dot dash dot, dot. So that would be k1, p1, k1, p3, k1, p3, k1, p1, k3, p1, k3, p1, k1, p3, k3, p3, k1, p1, k1, p3, k1, p1, k3, p1, k1.

In fact, since I wrote the first draft of this post, Kate Atherley has published a pattern on Knitty for mittens with a Morse Code stranded knitting pattern.

You could even chart out your words using Braille (thanks to Pat Ashforth for this interesting idea).

There is also a web page by Wayne Batten which speculates about a potential way that Madame Defarge could have encoded names in her knitting on the fly.

The Binary scarf (on Ravelry) by Christine Dumoulin uses colorwork to write binary numbers. Similarly, you could borrow the binary cables from the Binary Cable Hat by Firefairy.

Another straightforward method of turning numbers into knitting is to make stripes. Take the word knit. If you use the simplest decimal encoding, then k=11, n=14, i=9, and t=20. Knit 11 rows of one color, 14 of the next, 9 of another color, and 20 of another. Alternately, you could knit ribbing that was k11, p14, k9, and p20.

Two anecdotal methods of knitting ciphers from World War II that I haven’t found definite confirmation of and that seem more complicated to use involve modifying the yarn, knitting with it, and then unravelling it when it reaches its destination. In one case, the yarn might have been painted (in a long string, not a skein) with the dots and dashes of Morse code. In the other case, knots might have been tied in the yarn with the space between the knots indicating different letters.

Now for some thoughts I haven’t seen elsewhere (though that certainly doesn’t mean these are new ideas).

A somewhat more subtle method is to make stripes in both directions on a baby blanket. Here’s a short name for an example: Ed. This becomes 5 and 4. If you do a k5, p4 ribbing for 5 rows and then a p5, k4 ribbing for 4 rows, it makes a reversible check pattern.

Another way to make stripes is to pick cable patterns that have stitch repeats that match the numbers.

I hope you’ve enjoyed my tour of a variety of methods of embedding and encoding meaning–I’d love to see any projects using my techniques!

(If you’d rather comment on Ravelry, I have a thread for this post in my group.)

Cables

(This is part of a series of posts on different ways of hiding meaning in your knitting.)

Table of Contents: Embedding meaning in Your Knitting | Converting Words to Numbers | Making a grid | Asymmetry or Symmetry? | Converting grids into stitch patterns | Lace | Cables | Other Encodings | Summary of My Method | Addendum: Ribbing | Further Resources

As with my post on lace, I’m not going to go into a great deal of detail about my design process. Among other things, I’m not sure I have a clear enough conscious grasp of how I do it—yet. Maybe someday. In the meantime, I can only suggest copious swatching and trying things out. Even failed attempts will teach you things about design.

Cables

For cables or twisted stitches, each square on the grid should be thought of as taking up multiple rows and stitches, so that it outlines a crossing and the minimum vertical space before the next crossing should happen. For cables, you’ll want the cells from the grid to be at least four stitches across and four rows vertically—the cross from a marked cell will happen on just one of those rows. Twisted stitches require at least two cells horizontally and vertically.

Original grid followed by the subdivided grid

Chart Symbols & Abbreviations:

knit symbol k knit
purl symbol p Purl.
RT Cross the 2nd st in front of 1st st, knit the 2nd st, then knit the 1st.
LT Cross the 2nd st behind the 1st st, knit the 2nd st, then knit the 1st.
RT with the back stitch purled. Cross the second stitch in front of the first and knit it; purl the first stitch; take both stitches off needle.
LT with the back stitch purled Cross the second stitch behind the first and purl it; knit the first stitch; take both stitches off needle.

Chart

Once you’ve got your basic chart, you can play around with variations. The simplest variant I came up with is to put a purl column in between every pair of columns with a twist, like this:

The result is the left-hand swatch shown in this photo:

P5022295

peace twist 1
Round 1: k2, p1, RT, p1, k2, p1, RT, p1, k2, p1
Round 2: k2, p1, k2, p1, k2, p1, k2, p1, k2, p1
Round 3: k2, p1, k2, p1, RT, p1, k2, p1, k2, p1
Round 4: k2, p1, k2, p1, k2, p1, k2, p1, k2, p1
Round 5: RT, p1, k2, p1, k2, p1, k2, p1, RT, p1
Round 6: k2, p1, k2, p1, k2, p1, k2, p1, k2, p1
Round 7: k2, p1, RT, p1, k2, p1, RT, p1, k2, p1
Round 8: k2, p1, k2, p1, k2, p1, k2, p1, k2, p1
Round 9: RT, p1, k2, p1, k2, p1, k2, p1, RT, p1
Round 10: k2, p1, k2, p1, k2, p1, k2, p1, k2, p1
Round 11: RT, p1, k2, p1, k2, p1, k2, p1, RT, p1
Round 12: k2, p1, k2, p1, k2, p1, k2, p1, k2, p1
Round 13: RT, p1, k2, p1, k2, p1, k2, p1, RT, p1
Round 14: k2, p1, k2, p1, k2, p1, k2, p1, k2, p1
Round 15: k2, p1, k2, p1, RT, p1, k2, p1, k2, p1
Round 16: k2, p1, k2, p1, k2, p1, k2, p1, k2, p1
Round 17: RT, p1, k2, p1, k2, p1, k2, p1, RT, p1
Round 18: k2, p1, k2, p1, k2, p1, k2, p1, k2, p1
Round 19: k2, p1, RT, p1, k2, p1, RT, p1, k2, p1
Round 20: k2, p1, k2, p1, k2, p1, k2, p1, k2, p1

On the right is the beginning of more complicated playing around. I declared to myself that the coded crosses would mean anywhere that a knit stitch crossed over a knit stitch; otherwise I could place a knit stitch crossing a purl stitch anywhere I pleased, including on return rows.

Chart: peace twist 2
Round 1: k1, p1, LT, p2, LT, p2, LT, p2, LT, p1, k1
Round 2: k1, p1, k1, LT with back stitch purled, RT with back stitch purled, k1, p2, k1, LT with back stitch purled, RT with back stitch purled, k1, p1, k1
Round 3: k1, RT with back stitch purled, p1, RT, p1, LT with back stitch purled, RT with back stitch purled, p1, RT, p1, LT with back stitch purled, k1
Round 4: k2, p2, k2, p2, k2, p2, k2, p2, k2
Round 5: RT, p1, RT with back stitch purled, LT with back stitch purled, p1, RT, p1, RT with back stitch purled, LT with back stitch purled, p1, RT
Round 6: k1, LT with back stitch purled, k1, p2, k1, RT with back stitch purled, LT with back stitch purled, k1, p2, k1, RT with back stitch purled, k1
Round 7: k1, p1, LT, p2, LT, p2, LT, p2, LT, p1, k1
Round 8: k1, RT with back stitch purled, k1, p2, k1, LT with back stitch purled, RT with back stitch purled, k1, p2, k1, LT with back stitch purled, k1
Round 9: RT, p1, LT with back stitch purled, RT with back stitch purled, p1, RT, p1, LT with back stitch purled, RT with back stitch purled, p1, RT
Round 10: k2, p2, k2, p2, k2, p2, k2, p2, k2
Round 11: RT, p2, k2, p2, RT, p2, k2, p2, RT
Round 12: k2, p2, k2, p2, k2, p2, k2, p2, k2
Round 13: RT, p2, k2, p2, RT, p2, k2, p2, RT
Round 14: k2, p2, k2, p2, k2, p2, k2, p2, k2
Round 15: k2, p2, RT, p2, k2, p2, RT, p2, k2
Round 16: k2, p2, k2, p2, k2, p2, k2, p2, k2
Round 17: RT, p1, RT with back stitch purled, LT with back stitch purled, p1, RT, p1, RT with back stitch purled, LT with back stitch purled, p1, RT
Round 18: k1, LT with back stitch purled, k1, p2, k1, RT with back stitch purled, LT with back stitch purled, k1, p2, k1, RT with back stitch purled, k1
Round 19: k1, p1, LT, p2, LT, p2, LT, p2, LT, p1, k1
Round 20: k1, p1, k2, p2, k2, p2, k2, p2, k2, p1, k1

Next post in series: Other ways of making knitting codes

(If you’d rather comment on Ravelry, I have a thread for this post in my group.)

Lace

(This is part of a series of posts on different ways of hiding meaning in your knitting.)

Table of Contents: Embedding meaning in Your Knitting | Converting Words to Numbers | Making a grid | Asymmetry or Symmetry? | Converting grids into stitch patterns | Lace | Cables | Other Encodings | Summary of My Method | Addendum: Ribbing | Further Resources

Turning a grid into a lace chart can be very satisfying, but is also a bit more complicated. I’m going to present an introduction here, but not go into details, as this could involve a full article by itself.

If you want to knit lace from one of these grids, it’s obvious that the marked squares can become yarn overs. There are other considerations as well: do you want to have a plain row after every row with yarn overs? Do you want to knit garter stitch lace or stockinette? You also need to figure out where to put the decreases, because the location of the decreases will affect the appearance of your lace. The key thing is that you need the same number of decreases in your stitch pattern as you have yarn overs. Be prepared to swatch a lot to see what happens, but do try a lot of variations – you’ll learn a lot about lace and might get surprising and interesting results. (If you are keeping your code decipherable, you’ll want to have the decrease in the same line as its corresponding yarn over.)

This is the grid I worked with:

All these stitch patterns are multiples of 12. The return rows are all purl stitches, except that I knit one and purled one into each double yarn over.

Chart Symbols & Abbreviations:

knit symbol k knit
yo yarn over
k2tog Knit two together to make a right-leaning decrease.
ssk Slip one knitwise, slip the next knitwise, then knit two together through back loop. (Or otherwise make a left-leaning decrease.)
RT Cross the 2nd st in front of 1st st, knit the 2nd st, then knit the 1st.
LT Cross the 2nd st behind the 1st st, knit the 2nd st, then knit the 1st.
RTssk Slip each of the 1st two stitches knitwise, slip back to left needle. Cross the 3rd st in front and knit it; knit the 1st two stitches together through back loop.
LTk2tog Bring the needle behind the 1st stitch, knit the 2nd and 3rd stitches together. Knit the 1st stitch

Peace Lace: Swatch 1

In this first swatch, I started out by putting a decrease next to every yarn over in the chart, but then I moved them around as I swatched to make sinuous lines (also, I started six stitches over from the edge of the grid):

P4292279

Chart I made before starting knitting:

Row 1: k1, yo, ssk, k6, k2tog, yo, k1
Row 3: k3, yo, k2tog, k2, ssk, yo, k3
Row 5: k4, k2tog, yo2, ssk, k4
Row 7: k3, ssk, yo, k2, yo, k2tog, k3
Row 9: k4, k2tog, yo2, ssk, k4
Row 11: yo, k2tog, k8, ssk, yo
Row 13: k4, k2tog, yo2, ssk, k4
Row 15: k2, yo, k2tog, k4, ssk, yo, k2
Row 17: k4, k2tog, yo2, ssk, k4
Row 19: k3, ssk, yo, k2, yo, k2tog, k3

Finalized version of that chart, with an eye to making everything flow:

Row 1: k1, yo, k1, k2tog, k4, ssk, k1, yo, k1
Row 3: k3, yo, k2tog, k2, ssk, yo, k3
Row 5: k4, ssk, yo2, k2tog, k4
Row 7: k3, ssk, yo, k2, yo, k2tog, k3
Row 9: k2, k2tog, k2, yo2, k2, ssk, k2
Row 11: yo, k1, k2tog, k6, ssk, k1, yo
Row 13: k3, ssk, k1, yo2, k1, k2tog, k3
Row 15: k2, yo, k1, k2tog, k2, ssk, k1, yo, k2
Row 17: k4, ssk, yo2, k2tog, k4
Row 19: k3, ssk, yo, k2, yo, k2tog, k3

Peace Lace: Swatch 2

In the second swatch, I made most of the decreases line up vertically in the chart, swerving only to go around the yarnovers in the same line:

P4292280

Row 1: ssk, yo, k8, yo, k2tog
Row 3: k2tog, k2, yo, k4, yo, k2, ssk
Row 5: ssk, k4, yo2, k4, k2tog
Row 7: k2tog, k3, yo, k2, yo, k3, ssk
Row 9: ssk, k4, yo2, k4, k2tog
Row 11: yo, k2tog, k8, ssk, yo
Row 13: k2tog, k4, yo2, k4, ssk
Row 15: k2tog, k1, yo, k6, yo, k1, ssk
Row 17: ssk, k4, yo2, k4, k2tog
Row 19: k2tog, k3, yo, k2, yo, k3, ssk

Peace Lace: Swatch 3

In the third, I added in some twisted stitches for the fun of it:

P4282244

Row 1: ssk, yo, k8, yo, k2tog
Row 3: k2tog, k2, yo, k4, yo, k2, ssk
Row 5: LT, k2, k2tog, yo2, ssk, k2, RT
Row 7: k1, RT, ssk, yo, k2, yo, k2tog, LT, k1
Row 9: k2, RT, k2tog, yo2, ssk, LT, k2
Row 11: yo, LTk2tog, k6, RTssk, yo
Row 13: k2tog, k4, yo2, k4, ssk
Row 15: k1, ssk, yo, k6, yo, k2tog, k1
Row 17: k2tog, k4, yo2, k4, ssk
Row 19: k2tog, k3, yo, k2, yo, k3, ssk

If you would rather comment on Ravelry, I’ve posted this to my group as well.

Next post in series: Cables

Converting grids into stitch patterns

(This is part of a series of posts on different ways of hiding meaning in your knitting.)

Table of Contents: Embedding meaning in Your Knitting | Converting Words to Numbers | Making a grid | Possible layouts | Converting grids into stitch patterns | Lace | Cables | Other Encodings | Summary of My Method | Addendum: Ribbing | Further Resources

The first question is what sort of stitch pattern to knit.

Each of these grids is essentially a chart. Knit with two colors of yarn with one color for the background and the other for the marked squares, and you have stranded knitting. (Also called Jacquard or more inaccurately, Fair Isle.) Some grids might also be suitable for mosaic knitting.

Otherwise, you might try substituting a chart symbol for each marked square. The choices that come to my mind immediately: purl, slipped stitch, yarn over, bead, and nupp. Really, if you can put a chart symbol in a single square, try it. Yarn overs do present a special problem–and cables another–which is why I’m going to cover them in a separate post. For this post, I’m going to stick to stranded knitting, purl stitches, and slipped stitches. I would love to see what else people do, however!

Another consideration is whether to knit pattern stitches on every row or on alternating rows; both have their merits. As with any stitch pattern, you may need to add selvedge stitches at the edges when knitting flat and might want to add a partial stitch repeat at one side to balance things.

For the examples here, I am going to use the Base 6 grid for peace, mirrored on itself (and thus not a proper cipher).

Here is the grid:

Stranded Knitting

It’s a fairly dense pattern, with about a third of the squares marked. Since there’s no really long stretches of one color, it’s highly suitable for stranded knitting, so I tried it out.

It’s actually reminiscent of a number of traditional patterns; I like it. (Note to cross stitchers–wouldn’t that make a nice border?)

Purl Stitches

For this chart, I decided to alternate pattern rows with plain rows to help the purl bumps stand out better and to keep the vertical lines of purl from receding. It still forms a slight ribbing effect, but not as pronounced.

Chart & Abbreviation Key
knit symbol RS: k, WS: p Knit on right side, purl on wrong side.
purl symbol RS: p, WS: k Purl on right side, knit on wrong side.

Multiple of four stitches plus one.

Row 1: k1, p1, k1, p1
Row 2: p4
Row 3: k2, p1, k1
Row 4: p4
Row 5: p1, k3
Row 6: p4
Row 7: k1, p1, k1, p1
Row 8: p4
Row 9: p1, k3
Row 10: p4
Row 11: p1, k3
Row 12: p4
Row 13: p1, k3
Row 14: p4
Row 15: k2, p1, k1
Row 16: p4
Row 17: p1, k3
Row 18: p4
Row 19: k1, p1, k1, p1
Row 20: p4

Slipped with Yarn in Front

When you slip a stitch, you can either hold the yarn in back so that the stitch looks like a regular stitch stretched out (which it is) or with the yarn in front, so that it makes a horizontal line.

This example mostly makes use of the horizontal line effect and has pattern stitches on every row. There are two rows where the yarn is held on the wrong side because the same stitch is slipped for multiple rows and this makes the slipped stitch weave in and out. If the yarn was always held on the right side, the slipped stitch ended up being mostly hidden. Another alternative for the really elongated stitches would be to hold the yarn in back entirely for a completely different effect. Try it!

One thing I like to do if I’m going to be slipping the same stitch over more than two rows is to add extra wraps to the stitch to be slipped; this helps prevent distortion. I’ve included that in the chart and instructions below.

Chart & Abbreviation Key
knit symbol RS: k; WS: p Knit on right side; purl on wrong side.
knit elongated symbol RS: k1 elongated ; WS: p1 elongated Knit or purl as usual, wrapping the yarn around the needle twice instead of once. (Extra wrap to be dropped on next row.)
RS: sl wyif; WS: sl wyib Slip with yarn in front on right side; slip with yarn in back on wrong side.
wyib symbol RS: sl wyib; WS: sl wyif Slip with yarn in back on right side; slip with yarn in front on wrong side.

Multiple of four stitches plus one.

Row 1: k1, slip wyif, k1, slip wyif
Row 2: p1, slip wyib, p2
Row 3: slip wyif, k3
Row 4: slip wyib, p1, slip wyib, k1 elongated
Row 5: slip wyif, k3
Row 6: p3, slip wyif
Row 7: slip wyif, k3
Row 8: p1, slip wyib, p2
Row 9: slip wyif, k3
Row 10: slip wyif, p1, slip wyif, p1

For many of these stitch patterns, it’s worth turning work over and seeing if you like the back too. Here’s the back of this one:

(This one makes me want to have kept the slipped stitches all on the back after all.)

And here how this pattern looks in variegated yarn, which is often nice with slipped stitches:


Slipped with Yarn in Back

In this last example, all stitches are slipped with yarn on the wrong side. Pattern rows alternate with plain rows, and there are stripes of color. Each stripe starts on a pattern row so as to have the slipped stitches show up a bit more.

chart for slipped with yarn in back pattern

Chart & Abbreviation Key
knit symbol RS: k; WS: p Knit on right side; purl on wrong side.
wyib symbol RS: sl wyib; WS: sl wyif Slip with yarn in back on right side; slip with yarn in front on wrong side.

Multiple of four stitches plus one.

Row 1: k1, slip wyib, k1, slip wyib
Row 2: p4
Row 3: k2, slip wyib, k1
Row 4: p4
Row 5: slip wyib, k3
Row 6: p4
Row 7: k1, slip wyib, k1, slip wyib
Row 8: p4
Row 9: slip wyib, k3
Row 10: p4
Row 11: slip wyib, k3
Row 12: p4
Row 13: slip wyib, k3
Row 14: p4
Row 15: k2, slip wyib, k1
Row 16: p4
Row 17: slip wyib, k3
Row 18: p4
Row 19: k1, slip wyib, k1, slip wyib
Row 20: p4

If you would rather comment on Ravelry, I’ve cross-posted there.

Next up: Lace.

Asymmetry or Symmetry?

(This is part of a series of posts on different ways of hiding meaning in your knitting.)

Table of Contents: Embedding meaning in Your Knitting | Converting Words to Numbers | Making a grid | Asymmetry or Symmetry? | Converting grids into stitch patterns | Lace | Cables | Other Encodings | Summary of My Method | Addendum: Ribbing | Further Resources

You might be perfectly satisfied with the grid you have without any further modification. If so, you’ll want to skip to “Converting grids into stitch patterns”.

The first step in deciding this is to lay out multiple repeats of your stitch pattern to see if you like it as an all over design (if that’s what you’re after, of course).

If I take the base 6 version of peace from “Making a Grid”

Peace charted on a 6x10 grid

and repeat it three times in each direction, I can get a sense of how the repeats interact at the edges:

Peace charted on a 6x10 grid and repeated 9 times

This has distinct possibilities as it is, but let’s see what happens if I play with it some.

The first obvious variation is to mirror it. Here it is mirrored horizontally:

Or if you don’t like the doubled squares at the edges, you can overlap them:

Here is the latter, in a three by three repeat:

Now mirror it in both directions:

and see how it looks repeated, this time three times horizontally by two vertically (because the symmetry makes it easier to see how the repeats interact).

If the grid has more white space than you like and you’re not making a secret code, you can mirror the grid on itself so that it’s doubled (shown in two colors to make the mirroring clearer):

If you have an even number of squares, you can again eliminate duplicate columns if you’d like:

And here is the allover layout of the latter:

These are probably enough ideas to be going on with, but if you’d like to try out some other variations (whether with the original asymmetrical grid or the mirrored), have a look at the pattern design resources in Further Resources.

Just for an example, one basic pattern repeat variation you’ll find is the half drop, asymmetrical:

and symmetrical:

If you would rather comment on Ravelry, I’ve cross-posted there.

Next post: Converting grids into stitch patterns.

Making a grid

(This is part of a series of posts on different ways of hiding meaning in your knitting.)

Table of Contents: Embedding meaning in Your Knitting | Converting Words to Numbers | Making a grid | Asymmetry or Symmetry? | Converting grids into stitch patterns | Lace | Cables | Other EncodingsSummary of My Method | Addendum: Ribbing | Further Resources

There are several ways to turn a short sequence of numbers into a grid that can be turned into a stitch pattern chart. I’m going to demonstrate the ones I can think of. Once I’ve generated some grids, I’ll explain how to convert them into knitting charts.

The word that I’m going to use for my examples is peace. Working my way across my table for encrypting letters as numbers, I get the following possibilities: 1605010305, 1705010305, 2005010305, 2205010305, 2405010305, and 8069656769. (You’ll note that since most of the letters are smaller than 6, they’re identical in most of the variations.) The Dewey Decimal number for peace is 303.66. Watch out for those zeroes!

Keep in mind the difference between inspiration and encoding: if you’re going to make a secret code with a friend, you’ll need to always use the same method of choosing numbers, never omit zeros, and always use the same layout method. If you’re using meaning as a springboard for design that doesn’t need to be decipherable, you can be more flexible.

One concept per line

If you have multiple meanings you want to incorporate, you can sometimes make a pattern that puts one meaning per row of the grid. Here, for example, is a grid of the Dewey Decimal numbers for peace (303.66) and knitting (746.432). Peace is the first row; knitting the second. I counted from right to left for both rows, and decided to count ten for the zero.

stitch locations marked on a grid

If I wanted to, I could make the knitting line slightly shorter than the peace line; this can be accommodated with increases and decreases. If the difference in repeat length had been drastic, I would try repeating the shorter set of numbers again. As it is, I just filled in with a couple of blank spaces.

Plotting the numbers on an X,Y grid

If you treat the number of the base you’re using as one axis of the grid you’re filling, and the number of digits you’re encoding as the other, there’s some more variations possible. I’m going to show peace in both base 10 (the one we usually deal with in everyday math) and in base 6.

The letters in peace converted into base 10 are 1605010305; converted into base 6, they’re 2405010305. There’s ten digits regardless.

I have chosen to leave in the zeroes. In the base ten grid, I’m putting them in the tenth square; in the base six grid, in the sixth.

Here is the base ten grid. I’ve started in the bottom right corner again (though really it’s arbitrary). For this grid, I’m counting which digit it is from right to left, and then plotting the value of the digit vertically. So the first stitch is in the first row, the second in the sixth, the third in the tenth, and so on.

Peace charted on a 10x10 grid

Here is the base six grid. I’ve started in the bottom right corner again (though really it’s arbitrary). Zero is marked in the sixth column. For this grid, I’m counting which digit it is from bottom to top, and then plotting the value of the digit horizontally. So the first stitch is in the second column, the second in the fourth, the third in the sixth, and so on.

Peace charted on a 6x10 grid

Adding it all up

A method of laying out a grid which can result in denser stitch patterns involves a little basic arithmetic (addition and division).

Take the individual digits of the number you’ve come up with and add them together. Then see if you can divide it evenly; if not, we’ll pretend it’s the next number up. If the grid uses the exact number of squares, the last stitch marked will be in a corner; if you skip to the next number, the final corner will be empty.

For this section, I’m going to pretend I don’t have any zeros. The digits from 1605010305 add up to 21, which is 3×7. The digits from 1705010305 add up to 22 (2×11); from 2005010305, 16 (4×4); from 2205010305, 18 (3×6); from 2405010305, 20 (2×10); from 8069656769, 62 (2×31. That would make a very long and skinny stitch pattern; we could pretend it’s 63, which is 7×9). I’m not going to show grids for all of these; it would take too much space.

For the first grid, I worked my way back and forth as if knitting flat. For this one, I used the ASCII numbers. I started in the bottom right, counted 8, then counted 6, then 9 and so on. Each time I got to the end of a row, I turned around and continued the count on the next row. You will note that since my grid didn’t have the exact number of squares that there’s a blank square left over at the end.

In the second, I did all my counting from right to left. If I couldn’t fit all the stitches on a row, I continued the count on the next.

Each of these grids has possibilities for being turned into a stitch pattern, and you can see them knit up in swatches.

If you would rather comment on Ravelry, I’ve cross-posted there.

Next blog installment: Ways of rearranging the grids to make more symmetrical patterns, if desired. The entry after that discusses making the grids into actual knitting stitches.

Further Resources

(This is part of a series of posts on different ways of hiding meaning in your knitting.)

Table of Contents: Embedding meaning in Your Knitting | Converting Words to Numbers | Making a grid | Asymmetry or Symmetry? | Converting grids into stitch patterns | Lace | Cables | Other Encodings | Summary of My Method | Addendum: Ribbing | Further Resources

Novels with secret codes in fiber arts

  • Dickens, Charles. A Tale of Two Cities. (knitting; historical fiction)
  • Jones, Diana Wynne. The Spellcoats (spinning & weaving; children’s fantasy; part of a series)
  • Wrede, Patricia and Caroline Stevermer. The Grand Tour or The Purloined Coronation Regalia. (knitting; YA alternate history/fantasy; part of a series)

Knitting codes

Encryption & Steganography

Pattern Repeat Design

  • Subject heading to look for at a library:
    • Repetitive patterns (Decorative arts)
  • Proctor, Richard. Principles of pattern design.
  • “Symmetry and Pattern Design Resources”. Artlandia. 2010. [http://www.artlandia.com/wonderland/#Textile-design] Accessed 23 Apr 2011.
  • Waterman, V. Ann. Design Your Own Repeat Patterns: A Quick and Easy Approach.

Converting words or letters to numbers

(This is part of a series of posts on different ways of hiding meaning in your knitting.)

Table of Contents: Embedding meaning in Your Knitting | Converting Words to Numbers | Making a grid | Asymmetry or Symmetry? | Converting grids into stitch patterns | Lace | Cables | Other Encodings | Summary of My Method | Summary of My Method | Addendum: Ribbing | Further Resources

A first step in converting words to knitting (or other fiber arts) is to convert letters to numbers. An obvious way to do this is to assign a number to each letter. The simplest way to do this is to use decimal numbers, assigning A=1, L=12, and Z=26. This can produce nice results.

If you don’t like the way the stitch patterns come out, you can translate the numbers into different base systems. I’ve provided a chart at the bottom of this post for numbers in base 10 down to base 6, as well as ASCII values. Other possibilities for conversion include binary, Morse code, or Braille.

Another option is to use the numbers on a telephone keypad, though this would be a one-way cipher; it would be tricky for someone looking at your stitch pattern to turn it back into the original letters, even if you wanted them to.

Using ASCII values for letters also works. (And in fact, if you look at the complete list of ASCII values online, you get upper and lower case and punctuation.) Finally, there are various encryption techniques that turn words into numbers.

The last way I’ve thought of to convert meaning to numbers (and my favorite) is to use the Dewey Decimal System—one of the methods librarians use to assign call numbers to books so they can be shelved according to their primary topic. The best resource for this (because it goes into the most detail) is the set of books that lists all the Dewey numbers in it. To use this, you’ll need to go to a library that uses Dewey for its call numbers; I recommend calling the library reference desk to find out if they have the books available for you to use.

A good backup system is to use WorldCat. Do a subject search for your meaning. If that doesn’t produce results, do a keyword search, and then pick a likely looking subject heading. On the detailed record page, look for the Dewey Decimal number for the books that come up. The one that appears most often is probably the Dewey Decimal number for your topic.

Finally, if you enjoy the idea of encryption, there are a number of techniques for putting words in secret code, which you could then further encode as knitting. See Further Resources for some suggested links.

The Problem of Zero

Once you’ve generated numbers to use in your stitch patterns, you’ll be using those numbers to count stitches or squares on a grid. Counting to zero can be tricky. One option is to add one to every digit, so that 0 is 1, 5 is 6, and 9 is 10. Another option is to turn zero into ten. A third option is to ignore all zeros. Note that this will make your code one way: decryption will be nearly impossible, even for someone who knows the code.

If you would rather comment on Ravelry, I’ve cross-posted there.

Letter Conversion Table

10 9 8 7 6 ASCII
A 01 01 01 01 01 65
B 02 02 02 02 02 66
C 03 03 03 03 03 67
D 04 04 04 04 04 68
E 05 05 05 05 05 69
F 06 06 06 06 10 70
G 07 07 07 10 11 71
H 08 08 10 11 12 72
I 09 10 11 12 13 73
J 10 11 12 13 14 74
K 11 12 13 14 15 75
L 12 13 14 15 20 76
M 13 14 15 16 21 77
N 14 15 16 20 22 78
O 15 16 17 21 23 79
P 16 17 20 22 24 80
Q 17 18 21 23 25 81
R 18 20 22 24 30 82
S 19 21 23 25 31 83
T 20 22 24 26 32 84
U 21 23 25 30 33 85
V 22 24 26 31 34 86
W 23 25 27 32 35 87
X 24 26 30 33 40 88
Y 25 27 31 34 41 89
Z 26 28 32 35 42 90

Forthcoming post: Placing numbers on a grid so they can be turned into stitch patterns.

Embedding meaning in your knitting: Index

Table of Contents: Embedding Meaning in Your Knitting | Converting Words to Numbers | Making a grid | Asymmetry or Symmetry? | Converting grids into stitch patterns | Lace | Cables | Other Encodings | Summary of My Method | Addendum: Ribbing | Further Resources

I’ve known about Madame Defarge and her knitting code from A Tale of Two Cities for a long time, and have read a number of novels which include the idea of encrypting things in fiber arts. This may be what subconsciously inspired me to encode meaning in my Secret Code of the Librarians shawl (still in progress) and then to write up this series of posts.

Sometimes we knit for a special occasion: a wedding, a birth, graduation from college. In those cases, the beauty of someone else’s design can be wonderful, but it can also be fun to create something new for the occasion. Why not combine the birth dates of two people who are marrying in a special gift, or perhaps encode their names into it?

You might be knitting a gift for someone who is ill–why not knit your wishes for good health into the design? Or if, like me, you wish you were more patient, you could knit yourself a shawl with “patience” hidden in the stitches.

Choosing Words or Numbers

A first step in converting meaning to knitting is to find a way to express that meaning in numbers.

To reduce the number of steps involved, the easiest thing is to pick numbers that are meaningful: dates, phone numbers, and so on. Dates have the further advantage that they can be expressed in a variety of different ways. Take the third of May, 1990. 1990 could also be written as 90. Three could be either 3 or 03, five could be 5 or 05. The five could come first or the three could come first (depending on whether you use US date order or not). The different configurations of dates will change the way your stitch patterns can be arranged, providing better flexibility in their appearance.

code swatch

(This code swatch was knit using the date I started college.)

You can also combine multiple dates in one stitch pattern: if making a stitch pattern for a wedding shawl, you could use the engagement date and the wedding date, or the birthdates of the people getting married.

Some of the methods I’ll explain later lend themselves more to writing long sequences of words, but I particularly like choosing one or two words to convert to numbers and then to stitch patterns.

I have limited these posts to the craft of knitting, but I am certain that some of the techniques I mention could be translated into other crafts. I would love it if someone gave it a try.

If you would rather comment on Ravelry, I’ve cross-posted to my group there.

Next post: Converting words or letters to numbers

(This series of posts assumes you are familiar with reading knitting charts.)

The Secret Code of the Librarians

Back in April 2010, one of the Ravelry groups I belong to started an -along. There are lots of knit-alongs or crochet-alongs or spin-alongs out there – a group of like-minded people work on a particular project or kind of project at the same time, and cheer each other on. In this case, the Friends of Abbys Yarns (started as a fan group for Abby Franquemont’s work but continuing as a community as well as a fan group) started the Friends of Abby’s Yarns Spin and Knit Along for Lace, FOAYSAKALFL for short. The goal was to have spun yarn and knit it into a finished lace project by the end of 2010. Only, you know, the rules weren’t really that hard and fast. I’m still knitting.

I had some batts that Abby had made just sitting around, and so I thought it would be apt to use those. I decided to use my two Backwoods batts that I picked up at Sock Summit 2009 (photo was taken in late afternoon, so the color is off):

I finished my spinning and plying during the Tour de Fleece 2010 and ended up with about 595 yards of laceweight:

So, what to knit? At first I thought of making a cowl, but that ended up not appealing. Then I hit upon a brainwave: why not encode something meaningful to me? A significant source of numbers for me is my job: I’m a reference librarian. So I figured out the right numbers, worked out a way of encoding them (I had to leave any zeros out, unfortunately), and then started swatching. Some things needed adjusting, but the original numbers are still where they belong, which has the extra benefit that I can tell even more easily when I’ve gone wrong with my knitting.

I was lucky in that the two numbers I used each had their digits fit nicely in a 27 stitch wide pattern, though I can see some other ways to play around. I will have a blog post after I reveal the secret about how I worked things out.

In the meantime, here is a photo of my work in progress as of yesterday. I blocked it gently with steam from my iron. This is one corner of what will be a crescent-shaped shawl or scarf (depending on how far my yarn goes):