88

Encrypting texts is a very old technique, which is known already from the time of the Romans, if not earlier. Now a simple text cypher is easily done with low-tech means, as long as those trying to break the code also have to rely on low tech.

Now medieval maps were often secrets. Therefore one might imagine that some medieval king wants his maps encrypted as well. Now it's of course easy to encrypt names using any text cypher, and moreover you may use non-standard symbols for landmarks. However, those would probably be easy to decode for anyone who is familiar with at least a small part of the mapped landscape. Therefore an effective encryption would need to encrypt the actual map, including the positions and relations of the landmarks to each other.

Therefore my question is: How might one encrypt a map?

The conditions are:

  • Encryption/decryption should be doable with medieval means.
  • For someone familiar with the encoding, it should be possible to decode the relevant features in little time, using only a minimum of tools (the map should be usable on travels).
  • The encryption should be non-obvious to someone who is familiar with the mapped region, but doesn't know the encoding (that is, the encryption doesn't need to withstand modern cryptanalysis tools — the Caesar code wouldn't withstand them either — but it should not allow someone not knowing the code to look at the map and say "I recognize this region").
  • In response to Keith: The map should be detailed enough that you can find your way, and can identify special spots (like the spot where you want to position your army, or the spot where you have buried the secret chest). However, the map can be amended with written information for details (for example, if it allows you roughly to get to the place of the buried chest, the exact placement could be written in a text referring to the landmarks around), so there's no need for extreme precision.
celtschk
  • 31,444
  • 13
  • 91
  • 152
  • 3
    "Now medieval maps were often secrets." It's a fun idea, but do you have any backup for this statement? Since the medieval period ended nominally at 1400 C.E., any example you provide must predate this. – WhatRoughBeast Jun 08 '15 at 21:27
  • 20
    Strictly speaking, Medieval maps weren't secret, they were virtually non-existent. For the most part, Medieval spatial information records were written sets of directions. On the rare occasions maps were made, they tended to be rough diagrams intended more to convey religious doctrine than geography. The surveying needed to produce modern topographic maps with military significance was a later development. The modern style maps associated with pseudo-medieval fantasy are one of the many anachronisms of fantasy. (not that there's anything wrong with that) – smithkm Jun 08 '15 at 22:51
  • 2
    @smithkm is spot on. The question would benefit from a clarification on the level of detail expected in the map. Even maps from the classical period were usually quite rudimentary. – Keith Jun 08 '15 at 23:43
  • See for example Ptolemy: http://upload.wikimedia.org/wikipedia/commons/2/23/PtolemyWorldMap.jpg . Note how even Greece is drawn very crudely. – Keith Jun 08 '15 at 23:46
  • I've usually heard cipher used to describe simple techniques such as substitution and transposition ciphers that were available in the middle ages, while encrypt is usually reserved for mathematically-based cryptosystems like RSA and ECC. Just a semantic difference, but it feels kind of weird for me to speak of someone in the 14th century "encrypting" something. – 2012rcampion Jun 09 '15 at 02:10
  • As an adjunct, I'd be interested in how someone with today's knowledge but without access to computers might do it. – JDługosz Jun 09 '15 at 03:19
  • 2
    @2012rcampion The technical phrasing used today is that "encryption" refers to making a document readable only by authorized parties, and a "cipher" is any procedural set of instructions for how to execute said encryption. For example, DES is considered a "Feistel cipher" because it is a procedure which uses a Feistel network for security. These terms should be contrasted to "code," which is merely a way of communicating information, not a secret (e.g. Morse code) – Cort Ammon Jun 09 '15 at 04:53
  • Just a follow up question - If you have someone familiar with the area - why would you need a map ? – Magic-Mouse Jun 09 '15 at 12:00
  • 2
    Make the map to an inconsistent scale. There is (potentially apocryphal?) story that loyalist mapmakers made the Maine wilderness out to be several hundred miles narrower that it actually was, making a coastal landing of American troops and a quick hundred mile hike to the major Quebec cities seem like a great idea. Four hundred miles later, out of food and suffering from the bugs and disease, the troops arrived significantly weakened. At least that's the story, unfortunately I can't find a reference. – Josiah Jun 09 '15 at 14:55
  • @CortAmmon Thanks for fixing my thinking, I could never find a good description of the difference. ("Encrypt a map" still sounds weird to my ears though.) – 2012rcampion Jun 09 '15 at 15:37
  • @Magic-Mouse: The map is not made for someone familiar with the area, However encrypting a map is no good if your enemy can just go to a local and ask him to identify the commonly known spots, so that the other marked spots must be the secret locations. – celtschk Jun 09 '15 at 18:56
  • @smithkm On what basis do you say that Medieval maps were "virtually non-existant"? I've seen, at least dozens, maybe hundreds of Medieval maps. See, for example, http://historymedren.about.com/library/atlas/blat04dex.htm. You can buy books of them. They were certainly not as accurate as modern maps, but "inaccurate" is not at all the same as "non-existent". – Jay Jun 09 '15 at 19:06
  • @Jay I would agree that there are many examples, but the link you provided contains none.. :) Here are some, though: http://www.henry-davis.com/MAPS/EMwebpages/EML.html – leo Jun 11 '15 at 20:12
  • @leo Don't want to get into an argument about it as it doesn't matter, but ... what's wrong with my link? It links to a page titled "Medieval Atlas" that has a list of links to Medieval maps. – Jay Jun 12 '15 at 06:54
  • @Jay Ok, I'm sorry if I missed something. It seemed to me like that page only contained links to modern maps of medieval Europe? – leo Jun 12 '15 at 09:24
  • Just to add to the polemics, encryption is used when data is transmitted through an unsafe channel. If you put the data (map) in a locker, close the locker with a key and put an armed guard in front of the locker, encryption is a totally unnecessary measure (and, given the nature of the solutions, quite unpractical). Encryption would be needed if you were to send the map to someone away and there was risk of interception, which would sheldom happen (if your generals needed maps, you would give copies to them before starting the campaing, right?) – SJuan76 Jun 12 '15 at 13:37
  • 1
    @Josiah that would not be "encription" but "misinformation". – SJuan76 Jun 12 '15 at 13:39
  • @leo Duh, you're right. I looked at the titles and jumped to a conclusion. Humble apologies! – Jay Jun 12 '15 at 13:39
  • 1
    @Magic-Mouse Why do you need a map if you know the area? Depends on the purpose of the map. Sure, if you know the area or already have a good map of the area, you don't need someone else's map to tell you where the mountains and rivers are. But if the map shows, say, the location of the buried treasure, or the planned invasion route for the attacking army, just because you know the area doesn't mean you know these specific locations. – Jay Jun 12 '15 at 13:44
  • RE terminology: Before computer encryption, I believe the standard terminology was: A "cipher" is a means of disguising a message letter by letter, such as by re-arranging the letters, or replacing each letter with a different letter or an alternative symbol. A "code" is a means of disguising a message by replacing entire words or phrases with alternative words or symbols. A cipher is a rule: "replace each letter with the next letter in the alphabet", or "switch every pair of letters", or of course much more complex rules. A code is a book: "look up the word, phrase or sentence you want ... – Jay Jun 12 '15 at 13:56
  • ... and read off the code value". To disguise a message using a cipher is to "encipher" it, the reverse process is "deciphering". To disguise a message using a code is to "encode" it; the reverse process is "decoding". "Encrypt" and "decrypt" are more general terms that can refer to either method. Modern computer cryptography relies on very complex mathematical transformations, and so is a case of cipher rather than code by the old definitions. – Jay Jun 12 '15 at 13:59
  • 1
    @sjuan76 But what if you have to consider the possibility that the enemy might overrun the post, kill the guard, break open the locker, and steal the map? And: Yes, if your generals are all gathered in the capital to discuss the war plan, you'd presumably give them all maps before they leave. But what if you have to tell a general in the field to break off from the enemy where he is and reinforce troops in another area? Maybe he doesn't have a map of that place. What if there are changes in plan and you want to tell your generals the new planned routes ... – Jay Jun 12 '15 at 14:03
  • ... of attack? Or you want to tell them what your spies have reported about the location of enemy troops? This information might well be best conveyed with a map. – Jay Jun 12 '15 at 14:03

29 Answers29

62

Folding.

Make a large map with large erroneous portions that become hidden with proper folding. This will confound even someone familiar with the area. "That looks like such and such river, but it doesn't have this adjacent mountain range..."

Yes, creasing could give it away, so the solution there is to use separate pieces of different maps which, when layered and oriented properly, reveal the real map. The cipher would be something akin to overlapping the dot marking certain towns or geographical landmarks.

Basically this is a map made of a collage of maps. I can't find a proper example, because maps aren't usually designed to do this, but it might look something like this when the erroneous sections are folded away:

enter image description here

Folding is preferred for the single or separate maps to produce the final map. Otherwise you just have the complete map cut into pieces. The maps can otherwise contain many folds to hide the proper ones and be flattened when not in use to avoid capture of the proper folding. Adding other maps which play no part in the final map will serve to further confuse anyone who captures them.

Samuel
  • 48,522
  • 10
  • 144
  • 232
  • 3
    How would you stop people from seeing the creases in the map from people using it? If the map was used a lot, there'd be pretty prominent creases, so what would stop people from just using the creases to refold the map? – Martin_xs6 Jun 08 '15 at 20:59
  • 10
    @Martin_xs6 You must have stopped reading at some point. "Yes, creasing could give it away, so the solution there is to use separate pieces of different maps " and "The maps can otherwise contain many folds and be flattened when not in use to avoid capture. Adding other maps which play no part in the final map will serve to further confuse anyone who captures them." – Samuel Jun 08 '15 at 21:01
  • 5
    Perhaps all the creases and more are already there, as in a typically folded modern map. The trick lies in known which sections to fold in and in what order to reduce the large page to a valid map. And of course, the unfolded map must look "mappy" even in the fictional areas. Mad Magazine's fold-in writ large, as it were. – RBerteig Jun 08 '15 at 21:01
  • Yeah.. I mean, even with the different pieces, I think it would be pretty easy to match up the prominent creases. I like @RBerteig's idea though. If you folded them all like a normal map, then all the folds would be right angles and it would be hard to find the order. – Martin_xs6 Jun 08 '15 at 21:13
  • @Martin_xs6 Yes, there are several easy solutions when done correctly. – Samuel Jun 08 '15 at 21:14
  • I'm not going to claim it is strong encryption, certainly. The other factor is the difficulty many people have with just folding a map up in the first place... – RBerteig Jun 08 '15 at 21:15
  • I think it might be easy for someone to recreate if they knew the area well enough. You would know that each shape made by creases would be a region that could be displayed. Then you could cut the map into the shapes and assemble all the known areas to recreate the map. This would actually be a really cool thing to try. – Martin_xs6 Jun 08 '15 at 21:19
  • @Martin_xs6 I think the strength would come from combining the folding technique with multiple physical maps, some of which were decoys. The user would just have to be careful to make sure the decoys get used as often as the real thing, so they have even wear and tear. They could even all be folded like a normal map but assembled together at odd angles, which suddenly adds an equivalent to 300+ bits of entropy per map. – thanby Jun 09 '15 at 13:27
  • @Martin_xs6 Just about any ancient encryption system could be broken if an idiot was using it. There are a lot of easy ways a competent person could prevent the moronic mistakes you're claiming would break the system. If you assume competence, the issues you have go away. – Samuel Jun 09 '15 at 14:18
  • Fascinating idea. As noted, the creases create a problem. But what if instead, we just had a dozen or so plausible-looking maps, and you have to lay one on top of another in the right place, at the right angle, and in the right order, to get the real map. You could then have text instructions on how to do this, presumably these instructions than put into code, like "Start with map labeled 'Albion'. On top of this place map labeled 'Zululand', aligning the town marked Romash on Albion with Shamgar on Zululand and Freem on Albion with Charlotte on Zululand. Then place map 'Baluchistan' ..." – Jay Jun 09 '15 at 19:35
  • ... Of course the instructions could be compressed to a terse standard format to avoiding giving clues in decryption. I suppose the maps would have to be borderless for this to work, or maybe we assume each has one fold and what gets folded back is all decoy. – Jay Jun 09 '15 at 19:36
  • 3
    I think you're very much overestimating how easy it is to refold something given the creases. I invite you to try the following http://img.geocaching.com/cache/b9372fd5-9639-4e4d-b4e5-42a0657bea14.jpg origami which gives all creases with direction. I tried over 10 destroyed pieces of paper and 20+ hours I'm nowhere nearer a solution. – DRF Jun 09 '15 at 20:17
  • @DRF I can't see one edge to edge mono-directional fold on that image anywhere, that would be one of the reasons you can do it. That image seems only to require you fold a small section of the paper at a time, which by itself shouldn't be a big deal (I am not claiming it is easy, nor that I can do it, just that it appears to be a simple enough concept). Otherwise, even assuming that big fold in the middle was allowed, a mirrored fold would not be possible, as both sides feature the same directional folds. – The Wandering Coder Jun 10 '15 at 07:20
  • 1
    @TheWanderingCoder I believe only folds present in the resulting object are marked (i.e. if you fold the whole thing in the middle but then at some point reverse or flatten part of the fold that part would not be marked). This means that somewhat fewer folds are drawn then would end up being present on the resulting map as creases, but adding them would IMO make it harder rather then easier to solve. I know there are people who are quite good at solving this type of origami puzzle, but I'd still say it's a decent "encryption" strategy in the sense of Cesar's cipher. – DRF Jun 10 '15 at 07:30
  • @DRF Ah, that makes a bit more sense. I suppose in that case it would be a good encryption method however, as you seem to have personally experienced, decryption may be a bit of a hassle even when you know what folds to make. – The Wandering Coder Jun 10 '15 at 07:38
  • A trick to fix the folding problem: have many copies of the map, use it folding as needed, burn it after use. (of course this is only possible if printing and paper are cheap) – o0'. Jun 12 '15 at 09:16
  • 1
    One way to help the with the creases issue is... to use tissue. It you take some tissue like silk, the folding would be less good, but at least no creases will appear. You could even have a map on a dress without being too obvious. – clem steredenn Jun 12 '15 at 12:51
43

You could always do it the way Robert Baden-Powell (the founder of the Scout Movement) did when he was posted to Malta as a spy, Draw maps as butterflies or some other animal. This does not require any special tools to decrypt other than to merely look at it. Those unfamiliar with the concept will see only an image of an animal / bug. In theory this could still be used today depending on how many people know what you are up to. In particular, in the included image you can note that "secret spots" (in this case gun emplacements) are marked on the wings of the butterfly as patterns further hiding the real intentions behind the image. Essentially if you could produce a convincing enough image of an animal that could have features that stand out only to the recipient or those knowing the code, you would have both an alibi for carrying a "map", as well no real proof that what you are holding is a map.

Links to Sources:

http://publicdomainreview.org/2013/07/10/robert-baden-powells-entomological-intrigues/ http://pinetreeweb.com/bp-adventure02.htm

Map of a Fort Disguised as a Butterfly Map of a Fort Disguised as a Butterfly2 Map of a Fort Disguised as a Moth Map of a Fort Disguised as a Leaf

  • 2
    +1 for the idea and for a great fact about Baden Powell I was unaware of :) – Whelkaholism Jun 10 '15 at 09:06
  • 6
    This technique of hiding information in a way which makes it appear as unrelated information is actually an example of steganography, not encryption. – Philipp Jun 10 '15 at 17:11
  • @Whelkaholism One of the many things you learn about him, having being in Scouts. – The Wandering Coder Jun 10 '15 at 23:55
  • 3
    @Phillip You are correct this is steganography although I did not explicitly say that this was encryption either (merely I replying to the original question in that encryption/decryption was to be doable through medieval means). I suppose I could have reworded "This does not require any special tools to decrypt..." to be a little clearer on this point. – The Wandering Coder Jun 10 '15 at 23:59
  • @TheWanderingCoder I was in Cubs many, many years ago, but I don't recall this :) – Whelkaholism Jun 11 '15 at 09:31
  • I don't recall where I learnt about this but it may have been Scouts (In Australia one up from Cubs is Scouts). Although I did receive quite a few old scouting books from someone so it may well have been in there. I would be surprised if you could recall a lot of what you learnt in cubs. I can't even remember what I had for breakfast... – The Wandering Coder Jun 12 '15 at 00:03
  • From the linked page, this was in Dalmatia (a part of what is nowadays known as Kroatia), not Malta. – Paŭlo Ebermann Jun 14 '15 at 11:48
  • @PaŭloEbermann Actually all the link tells you is that one of his trips to Dalmatia he drew some of these diagrams. His Biography will tell you that he started to draw these sketches when he was posted to Malta for three years, working as an intelligence officer for the Mediterranean under the Director of Military Intelligence (also when his trip to Dalmatia occurred). I wasn't expecting to have to post his whole biography but if you would like more info I can give more links. A little google-foo yourself would be just as quick however... – The Wandering Coder Jun 17 '15 at 17:45
  • @PaŭloEbermann I have added another source, if you would like some more reading. – The Wandering Coder Jun 17 '15 at 18:06
  • Its not really encrypted, its Steganography. – Doomed Mind Mar 17 '17 at 13:42
  • @DoomedMind Yes, that was mentioned 2 years ago, or did you just ignore all the other comments here? Most of the answers here are not "encryption", however you don't seem to have taken an interest in those. – The Wandering Coder Mar 21 '17 at 04:36
34

Anamorphic drawing

enter image description here

uses a reflecting surface to draw/view a scene (or a map)

The shape of the reflecting surface is the cryptographic "key" that would allow the information to be extracted, while hiding it from anyone lacking the correct reflector.

DJohnM
  • 477
  • 3
  • 7
  • 4
    I think it would be easy to figure out. It might not even bother much: the relationship between featues is more important than a uniform scale. It would be necessary to use a method that didn't have an obvious way of verifting a decryption. – JDługosz Jun 09 '15 at 07:01
  • 3
    This might be less easy to figure out if only the essential parts of the map have this distortion. However, one would need to consider the type of information being hidden. In the anamorphic drawing example, the topology is unchanged (no matter how much you mess with it), so if it's a map of your strongholds with identifiable weak spots, the essential information is leaked simply by looking at the connected lines between the strongholds and mapping them to reality – Cort Ammon Jun 09 '15 at 15:46
  • This is a really cool idea. Maybe you could even combine a couple of reflective surfaces to confuse things even more? – Martin_xs6 Jun 09 '15 at 16:43
  • 5
    If the reflective piece placed in the centre was some shape other than a cylinder, this could work really well. With a cylinder, it's a pretty straightforward distortion, but imagine if it was a chalice shape - non-uniform distortion. Or even better, something that's not the same all round, so it has to be oriented correctly. you could even shape it such that certain areas of the map aren't visible in the reflection, and then fill those patches with false information. As a bonus, the "decoder" would look like an ornament - say, a small polished statue. – anaximander Jun 10 '15 at 13:12
  • The main problem with this solution is that you do not require the original key (reflective surface) to decode the map. In fact, anything that is similar in shape (e.g. a cilinder twice the diameter) will produce an image that allows the viewer to guess what the correct key should be. A second problem is that this method only allows a small portion of the map to be useful, making the map mostly useless. – Sumurai8 Jun 11 '15 at 09:46
  • I think this could be used if you have a base map known (shared) and you only proyect the interesting elements in other (transparent) paper. – PhoneixS May 14 '19 at 20:48
30

Encryption requires a key to decrypt. Lets work with that assumption.

Draw a full map to act as the "key", and cut holes and lines and shapes in it that ruin it. Draw a second full map by first overlaying the cut out pieces of the key on top of the second map. For each section that is not covered, draw fake details and information into it. Then, remove the covered sections and replace it with legitimate information.

Now, only when you have both the key and the map are you able to make any sense of the two - the key is full of holes and as such unusable by itself, and the map is full of fake sections that are covered up by the key when applied correctly.

Aify
  • 18,987
  • 11
  • 65
  • 96
23

Color Encoding

When the map is made, add landmarks and terrain features using a specific color. Accompany the resulting map with a set of glasses with color-filtering lenses designed specifically for that map. Medieval techniques would cause each map and each set of glasses to be slightly different, making perfect decoding of unassociated map-glasses pairs to be difficult and/or confusing.

Image Distortion

Instead of using color filtration, the maps could be made using image-distorting lenses, much in the same way as the mirrors at a fun house. If the cartographer makes unimportant/important parts of the map using lenses that make everything wavy, the resulting hodgepodge of real and wavy parts can easily cause confusion.

Frostfyre
  • 25,219
  • 14
  • 89
  • 167
  • 2
    "Medieval techniques would cause each map and each set of glasses to be slightly different"

    This is intriguing. I suppose they would cast the glass with an arbitrary tint, then the mapmaker could mix pigments while wearing the glasses, in order to determine easily which colors would be visible through the lenses.

    The distorting lenses seem like a riskier proposition - they would require precise alignment with the map in order for it to be readable, instead of doubly distorted.

    – recognizer Jun 09 '15 at 14:45
22

You could draw parts of the map on pieces of thin paper. The pieces would need to be folded and stacked in a specific way. Then, the map is lit from the back somehow (sunlight, sky or firelight). This reveals the map.

If you've seen the original Iron Man, Tony Stark uses a method like this (without the folding) to disguise his plans for the first Iron Man suit he made in the cave when he was captured. When the pieces were arranged correctly, it showed the full suit, but otherwise they just looked like random drawings. (Sorry, couldn't find the link..)

Martin_xs6
  • 1,567
  • 9
  • 14
20

Hide the map in what looks like a coded message of text.

For instance, take the following text with various capital letters:

AT VEro eos et accusamus et iusto odio dignissimos ducimus qui bLAnditiis praesentium volupTAtum deleniti atque corrupti quos dOLores et quas molestias EXCEpturi Sint occaecati cupiditate non proVIDENT, SIMIlique sunt IN cULpa Qui OFficia DEserunt mollitia animi, id est laboRUm et doloRum fuGA. et haRUm qUIDEM rerum facilis est et expeDITa distinctio. Nam liberO tEMporE, cum soluta nobis est eligENDI OPtio cumque nihil iMPEdit qUO minus id quod mAXIME placeat facerE Possimus, omnis vOluptas Assumenda est, omniS dolOr repellendus. tEmporibus autem quibusdaM Et aut officiis DebitIs aut rerum necesSITatibus saepe eveniet ut et voluptateS REPUdiandae sint et molESTiae non recusandae. itaque earum rerum hic tenetur a sapiente dElectus, ut aut reiciendis voluptatibus maiores alias consequatUR AUt perferendis doloribus asperiores repellat.

Apply the cypher which says to split lines after a certain number of characters at the nearest space:

AT VEro eos et accusamus et iusto odio dignissimos ducimus 
qui bLAnditiis praesentium volupTAtum deleniti atque corrupti 
quos dOLores et quas molestias EXCEpturi Sint occaecati cupiditate 
non proVIDENT, SIMIlique sunt IN cULpa Qui OFficia DEserunt mollitia 
animi, id est laboRUm et doloRum fuGA. et haRUm qUIDEM rerum 
facilis est et expeDITa distinctio. Nam liberO tEMporE, cum 
soluta nobis est eligENDI OPtio cumque nihil iMPEdit qUO minus 
id quod mAXIME placeat facerE Possimus, omnis vOluptas Assumenda 
est, omniS dolOr repellendus. tEmporibus autem quibusdaM Et aut 
officiis DebitIs aut rerum necesSITatibus saepe eveniet ut et 
voluptateS REPUdiandae sint et molESTiae non recusandae. itaque 
earum rerum hic tenetur a sapiente dElectus, ut aut reiciendis 
voluptatibus maiores alias consequatUR AUt perferendis doloribus 
asperiores repellat.

Throw away lower case letters and replace them with spaces, replace the capital letters with some character.

XXXXX                                                 
     XX                         XX                    
      XX                       XXXX    XX             
       XXXXXXXXXXX           XXX  XX  X XX      XX    
                 XX          X     XXXX  XX   XXXXX   
                  XXX               X     XX XX   XX  
                    XXXXXXX                XXX     XX 
         XXXXXX            XXX              X       X 
         X    X               X                     XX
         X    X                XXX                     
         XXXXXX                  XXX                  
                                   X                  
                                   XXXXX              

The simple map is revealed. Meanwhile any captured documents would have enemy spies trying to decipher some encoded message, when no such message exists.

Samuel
  • 48,522
  • 10
  • 144
  • 232
  • 7
    Not very easy to decode by hand. – Mnementh Jun 09 '15 at 14:14
  • @Mnementh It's not supposed to be easy. Not only does it require a cipher, it requires skill. – Samuel Jun 09 '15 at 16:09
  • Yeah, skill could be an necessity, some other answers involve also some skill, like the correct folding. So it's fine I think. – Mnementh Jun 09 '15 at 16:21
  • 4
    Also I'm pretty sure sed has been around since the middle ages. – Samuel Jun 09 '15 at 16:23
  • @Mnementh OT, but good to see another Pern fan :) – Whelkaholism Jun 10 '15 at 09:20
  • @Samuel Are you also replacing spaces with X? Your plaintext (the map) has five X's in the first row, but only the first four non-space letters in the ciphertext are capitalized. – Michael A Jun 12 '15 at 17:58
  • @MichaelA Spaces which are surrounded with capital letters get X's. There are several minor rules which could be worked out to include additional detail, this is only a loose example. – Samuel Jun 12 '15 at 18:01
14

We can make some sort of jigsaw puzzle with square pieces without holes and pinches from map.

enter image description here

And put special symbol on the bottom side of the map. Let us consider the "MAP_OF_CITY" is the key. So, the first piece is the one with "M1" on bottom, the next is "A1", third is "P1" and so on, than, after "Y1", the "M2", than "A2" and so on. Of course we have pieces that are fake (for example, with letter of "W1","W2" and so on).

So, the map can be assembled quite fast, and pieces can be quite small for images to be usefull.

Also the map can be something, that do not looks like a map - like Ammassalik wooden maps enter image description here

vodolaz095
  • 5,815
  • 2
  • 20
  • 35
12

Create a map grid with letters on one axis and numbers on the other, ex: A through Z on top, 1-26 on the left.

If you need finer details, you can increase that, say A through AZ and 1-52.

Now turn your map into a written description:

The river is an eighth of a mile wide and runs from A3 to E7 to M6. It widens around L6 and there is a crossable ford at D5. The trade road runs from A5 through...

Now you have a written description, and you can use standard encryption techniques on that. You have two options with that:

  1. Encrypt all of the text. This is the most secure, but takes the longest to decrypt.
  2. Only encrypt the coordinates. This is less secure, because people will be able to gather rough details without the code. But it also makes it much faster to decode and reverse to the correct coordinates and recreate the map.
Dan Smolinske
  • 34,650
  • 7
  • 70
  • 144
  • +1. Also, in essence this is basically how we do it today albeit that our written description might sometimes be less human-readable a binary string representing a raster image. – smalltown2k Jun 13 '15 at 15:52
12

Love this question, and there are some ingenious answers already.

I haven't checked the engineering on whether this would be possible, but I'm thinking a Pantograph with custom geometry to transform the map outlines; the transforming element could be replaceable for different encodings.

Pantograph animation

So, General 1 creates his master map. It is transformed onto another sheet, which is given to Disposable Soldier 1 to take to General 2, who uses the previously agreed upon pantograph element to reconstruct the original.

Doable with some bits of wood and a charcoal stick; although the transforming element may have to be more accurately made.

Whelkaholism
  • 2,756
  • 12
  • 17
  • 8
    To make this more secure, use several differnt pantograph settings with different colors of ink. Then when decoding, use the ink color to determine the setting. – Jabe Jun 09 '15 at 15:39
  • 1
    +1 It's a neat idea. Any simple mechanical pantograph will always be linear though, so Jabe's idea for using multiple pantographs with different colors to resize the various elements back to the proper size is an excellent amendment. – Samuel Jun 09 '15 at 16:16
  • 2
    @Samuel Not so. The Lipkin linkage (http://en.wikipedia.org/wiki/Peaucellier–Lipkin_linkage) is an extremely simple device but produces a non-linear transform. – user58697 Jun 10 '15 at 00:45
  • Excellent, someone with better engineering knowledge than me :) I really want to try making a map transformer now. – Whelkaholism Jun 10 '15 at 09:03
  • @user58697 That linkage doesn't transform both ways. It can't be used as a pantograph that encodes and then decodes information. – Samuel Jun 12 '15 at 16:53
  • @Samuel The 6-rod linkage performs a true full scale 1:1 inversion (the 7th rod is only needed to guide the pivot over the circle). In fact, a similar linkage with unequal rods will distort the map even stronger. If there is an interest, I can provide examples. – user58697 Jun 12 '15 at 16:59
  • @user58697 I am interested, certainly. Particularly an example showing the transform and inverse transform. – Samuel Jun 12 '15 at 17:08
  • @Samuel - I assumed the example was simply to prove a non-linear transform was possible, which would would allow my idea to work in theory :) – Whelkaholism Jun 15 '15 at 09:03
  • @user58697 - I'm very interested! – Whelkaholism Jun 15 '15 at 09:04
  • Actually, you could do a variation of the Lipkin linkage, or similar lossy transform to create a non-reversible hash that would allow you to verify whether a given map was correct, couldn't you? – Whelkaholism Jun 15 '15 at 09:06
  • A one way non-linear transfer is trivial, you can do it with some string. Getting the information back is the hard part. I suspect no examples of such mechanisms will be forthcoming from @user58697. – Samuel Jun 15 '15 at 14:24
8

Invisible ink

It is is not exactly cryptography, but steganography, but you are using an innocent looking sheet of paper and paint the map in invisible ink which will be visible if heated. The idea is already known in the time of the old Greeks.

Grille

Use a Fleißner Grill. Draw the map, divide it in equal parts divisible by four and create a template where one fourth of entries are open. Look at the windows, enumerate the parts on the back, rotate the grille and continue. In this case the map must not have shared lines or features on their borders because then it is a jigsaw puzzle which can be solved..

Thorsten S.
  • 14,681
  • 2
  • 35
  • 63
6

Excellent question. I don't know if it has ever been done.

Substitution and Transposition

First, re-arranging map elements, such as a mountain-replaced-by-a-body-of-water. But this is recognizable to someone familiar with your region.

Next, re-assembly of the mapped region by squares of, say 500m x 500m, so that there is a distortion that only your readers can understand how to re-assemble it.

Smooth out the features so that they blend together and you have a map of an un-recognizable region with features that are not familiar to anyone from 'round here.

Your readers then take up the scissors and re-assemble and re-substitute. Feel free to throw in classic cryptography of the names of features or strategic positions after that.

Mikey
  • 17,382
  • 5
  • 44
  • 107
  • Another possibility here, if you have access to any type of transparent material to write on, would be to put a few features each on many different pages, with ciphered instructions for laying the pages together to form a final picture. The pages would be rotated differing degrees and overlapping one another to the point that it would be impossible to put them together accurately without the instructions. At the most secure, each page could have a single feature and two or three coded reference points that don't refer to a real location, just provide a point to line up with other pages. – Bryon Jun 08 '15 at 20:23
  • @Bryon good point. I guess it depends how deep you want it to be crypted (is that a sentence?). There are many opportunities: cut it into a hundred pieces with cryptic symbols on the back of each, etc. This should confuse the casual observer who is familiar with the region, though. I look forward to finding out! – Mikey Jun 08 '15 at 20:25
  • 1
    I think you beat me to it with what is a very similar idea, though yours does include more obfuscation. +1 – Samuel Jun 08 '15 at 21:06
  • @Samuel no, I love the folding idea; I just don't know how much the OP wants to encrypt, so I put in some age-old techniques. – Mikey Jun 08 '15 at 21:37
6

One idea which can be combined with the others is to have a stack of decoys. Following the wrong one can be expensive or dangerous, if it includes things like safe reef passages and mountain passes.

You have to know which parts of which sheets are right, as well as how to fold/mask/layer them properly.

The cost of brute-forcing the key could then be higher than the value of the map.

Some specific details might be practically coded as plain text, which is then encrypted in a conventional manner. For example, a shoreline can be covered with numbered points, and the safe way through the rocks/reefs is encoded as a list of waypoints in a separate document.

zovits
  • 2,966
  • 2
  • 20
  • 29
JDługosz
  • 69,440
  • 13
  • 130
  • 310
6

Visual Cryptography provides a very nice approach:

enter image description here

The advantage is that if done right, each share has exactly zero information. Suppose that you convert the map into grayscale "pixels". You take a transparent sheet and for each pixel, fill half of the pixel at a random orientation. This is the key.

Now you take another transparent sheet, put it on top of the key sheet, and start drawing the map by filling exactly half of each pixel again, but at such an orientation that combined with the underlying key it will either result in a fully black pixel, a half-black pixel, or anywhere inbetween.

Very simple, completely secure (zero information in each share separately), and does not require a computer to create. (though admittedly transparent sheets might be difficult to come by in those times)

RomanSt
  • 171
  • 4
5

How about drawing the maps on the glass of a set of lamps. When you want to see the map, you can set the lamps up at a certain distance and angle to a screen (this would be the key). You then setup a screen of some sort (like the wall of a tent, or other flat, lightly colored surface) When you light all the lamps, the map is projected onto the screen. If you don't want the maps captured, smash them.

It would look like this, except the pictures would be parts of a map, and overlapping. Also, you could have a more complicated shade or blown glass cover for the lamp to distort or mask things for more secrecy.

enter image description here

Martin_xs6
  • 1,567
  • 9
  • 14
5

Use stack of transparent papers

enter image description here

Each paper consists of patches of real and fake parts of a map drawn on them (with solid background), but it is mostly transparent. When stack in the correct order, all fake pieces are hidden under the real ones, revealing the true map. Every paper is numbered from 1 to N, giving N! different arrangements. The decryption key is a sequence of numbers in which they need to be stacked. Papers are randomly shuffled before storing the map. This map is easy to decrypt and read and decrypting doesn't require any additional items. In addition the map can be split between multiple parties. Also pieces that contain only fake patches can be added to increase the difficulty.

Edit: In addition every piece can be stack in obverse or reverse giving you total of N!*2^N possibilities

Cano64
  • 922
  • 6
  • 11
  • 2
    Did transparent paper exist in medieval times? – celtschk Jun 09 '15 at 18:47
  • I don't know, you can cut the transparent pieces off or paint it on a glass – Cano64 Jun 09 '15 at 20:03
  • 1
    I don't think the order that you stack them matters, since they are transparent... You just need a way to tell which orientation they should be in (which side up, which corner where, etc..) – Martin_xs6 Jun 09 '15 at 21:52
  • 1
    @Martin_xs6 Some of them contain e.g. white squares that mask whatever is shown on the ones below them. – Random832 Jun 10 '15 at 03:47
  • Ahh, that makes it a lot more practical. Especially since scraping off the mask would make there be a potentially ridiculous amount of lines on the map, making it hard to read. – Martin_xs6 Jun 10 '15 at 15:01
4

Use a one-time pad with XOR.

To encrypt

1) Draw your map as a black and white grid of squares (bitmap) made up of filled and empty squares (plaintext)

_________
|_|_|_|_|
|_|X|X|X|
|_|X|_|_|
|_|X|_|_|

obviously you can make this as big as you want.

2) Draw another bitmap with squares filled in randomly (key)

_________
|X|_|X|X|
|X|_|X|_|
|_|X|_|X|
|_|X|X|_|

3) Draw your encrypted map with the following rules: For each square compare the contents of 1) and 2) and colour in only the squares that are different (black in one, but not the other)

_________
|X|_|X|X|
|X|X|_|X|
|_|_|_|X|
|_|_|X|_|

To decrypt:

Take 3) and 2) For each square compare the contents of and colour in only the squares that are different (black in one, but not the other) Voila, you get 1) back.

_________
|X|_|X|X|
|X|X|_|X|
|_|_|_|X|
|_|_|X|_|


_________
|X|_|X|X|
|X|_|X|_|
|_|X|_|X|
|_|X|X|_|

=> original

_________
|_|_|_|_|
|_|X|X|X|
|_|X|_|_|
|_|X|_|_|

Provided you filled in 2) randomly then there is no way of breaking this encryption unless you have the key. Also you should only use 2) once and not for a set of maps.

Andrew
  • 141
  • 2
4

Similar to what Mnementh suggested.

Start with a large piece of high quality leather. Leave large top and bottom margins and draw the map in between. Full width but only the middle part vertically.

Now divide the map into vertical strips of width suitable for a belt with a marker. From these strips mark a belt length portion that covers the map containing but has a different top and bottom margins, start and end points for each strip. Belt holes and buckles should also go to the unmarked part. Cut off the strips, fill the unmarked parts with fake map lines, and turn the strips into belts. The belt decoration on the other side should tell with some code the strip ordering and the top margins used.

Anyone who knows the same code of markings to order and margin can reassemble the map. Presuming that they use same measures for the margins... Each belt can be given to different person and aged to different degree.

Ville Niemi
  • 43,209
  • 4
  • 74
  • 149
4

I'm most familiar with the encryption of numbers, so I came at this from a numbers angle.

Maps can be numbers, most usually in a grid. These numbers can either represent geographical features, topography, or something else entirely.

Features grid visually represented (screenshot of Advance Wars on GBA):

features

Topography:

topography

Now, since we're using numbers, we can use classic encryption methods. You'd have your original map, and you'd have a key, a grid of random numbers. You could then add/etc. the respective numbers on both grids to form the encrypted map. As long as the recipient had the key, they could reverse calculate the original map, and it would be impossible for anybody without a key to decrypt it, as there could feasibly be a key that would generate any possible map.

3

An idea is having longer stripes of paper. Lets say you have six of these stripes (ABCDEF). Some of them you can now lay horizontal, some vertical, lets say:

AAA
BBB
CCC

DEF
DEF
DEF

Now you lay the stripes over each other in a pattern, so that some parts are hidden by others:

AEA
DBF
CEF

On the parts that are hidden in the final layout paint some fake map to distract people.

Mnementh
  • 522
  • 4
  • 13
2

Well it seems to me that any kind of direct-placement of symbols on a page wouldn't work, simply because it doesn't matter what the symbols are -- anyone familiar with the area could infer meaning from them, and deduce an "unusual" one to be more important.

Instead, some means of scrambling the actual data seems in order. That's rather challenging to do with a single, homogeneous page, as there is no easy way to un-scramble paper, except with cutting and rearranging, as @Mikey suggests.

I'd imagine some kind of tool or "key" used to encode and decode the map. Such as a specially-shaped glass lens. Place it on top of the map, and it de-encrypts it. Or blue-glass filter, and multi-color paper. Hard to see the real data without it. Or a chemical added to it, which only reacts with another chemical.

rdtsc
  • 487
  • 2
  • 4
2

The requirement that the map can be used while on a journey, presumably under Medieval conditions, is a tough condition. I can think of all sorts of ways of encrypting a map using technology available in the Middle Ages, but most of the ideas I come up with would require considerable time to decrypt, tools that might not be so convenient to lug around, etc.

But here are two ideas that I can suggest:

  1. Cut the map into pieces, with each piece being too small to be of practical value. Write some code number of symbols on each piece that can be used to put them back together correctly. Note the symbol must be in code: obviously if the pieces are simply labeled with grid co-ordinates, anyone could quickly figure this out and put them together. But there are any number of routine cyphers available to encrypt the grid co-ordinates.

Combine this with encrypting any text on the map, so that an unauthorized person can't use place names as clues to figuring out the proper arrangement.

Deliberately mis-align things that cross the borders between sections slightly. You don't want someone to be able to re-arrange the pieces by lining up roads and rivers, or you just turn the cypher into a jigsaw puzzle. So if, say, a road crosses from tile A4 to tile E6, move the road just slightly to the north on the edge of A4 and slightly to the south on the edge of B6 so it doesn't line up.

  1. Use conventional map symbols, but use them randomly for the wrong things. Like on one part of the map a blue line may be a river like we would expect, but elsewhere it is a road, and yet somewhere else it is a mountain range. Coded text on the map tells which it is in each case. The text is encrypted by conventional means. So if I see what looks like a mountain range, and it's labeled "Fwghthrnbr", and I decrypt this and it turns out to mean "Rhine River", then I know this mountain range really represents a river.

Hmm, if we use a system to encrypt the text that doesn't look like code but like plausible names, like we encrypt "Rhine River" as "Harold's Mountains", then to someone trying to read the map, it might look like an ordinary map, and he just can't figure out where this place is. If he doesn't realize it's in code, he won't try to crack the code. It would be easy enough to have some substitution cypher that treats common terrain names, like "River", "City", "Bridge", etc, as units that are transformed into each other according to some set and reversible rules. Like arrange them in a list and then go up or down so many slots in the list based on the position of the word on the map or other words around it.

Jay
  • 14,988
  • 2
  • 27
  • 50
2

Usability may depend on intentions. Assume you want to transfer a map from A to B once, with the risk of being intercepted. Shave the head of a messenger. Tattoo the map on his skalp. Wait for his hair to grow. Send the messenger (with a fake map for distraction). At the destination shave hime again.

2

Draw a normal and usable map but include some extra points (like trees with n branches or letters with a special shape..) in it. To decipher the secrets one would have to connect the extra points.. The crossing of two or more connectors are the hidden places..

TaW
  • 121
  • 3
1

Don't make a map, make directions

Think about what a map really is. A map is a visual display of local geography. It shows rivers, hills, roads and towns. The biggest reason a map is used is to figure out directions to get to a certain place. Therefore, instead of encrypting the map, cut out the middleman and just give directions.

Make the directions harder to follow for those that must not know

Instead of using official names for villages, use codewords that include minor events from villages. Refer to villages not by the village name, but by the name of a local dignitary. Most people don't know the name of the dignitaries a village over. Hell, most people don't even know the names for their own village dignitaries.

Nzall
  • 8,439
  • 3
  • 32
  • 73
  • 3
    A map gives the ability to give any set of directions for an area. What do you do when you discover the bridge at the river, that step six tells you to cross, is out? – Samuel Jun 09 '15 at 16:20
1

How about having a Mirror Key for your encoded map?

You place the mirror at a certain location on the map with a certain orientation, then look at it from a certain point and the map will come into focus.

Notes:

  • The mirror key doesn't need to be a perfect mirror, but instead just reflective enough to make out the image. Polished metal would work and would be consistent with medieval times
  • As you are drawing your encoded map you need to replicate the same setup as when you'll read it later, and then draw it based on the reflected image you want (I'm sure that will take a LOT of patience and practice).
  • You can also have "dark" places that won't show up in your reflected image. This will let you add in features to the map that don't belong.
  • You can vary several things to make it difficult to read the map even if someone finds the mirror and the map together:
    • Where you put the mirror in relation to the map
    • What side of the mirror is up
    • What angle to hold the mirror at
    • Where you look at the image from
    • How the map is folded
  • The mirror will take some experimentation to get right. For example, you may find that some setups won't work because the places you'll need to draw will overlap. Probably the easiest would be to cut flat pieces and have them at different planned angles to avoid this. However, curved pieces would add an extra layer of distortion (and complexity!)

enter image description here

Briguy37
  • 211
  • 1
  • 3
1

Encrypt the text-based instructions necessary for creating the map

for example, take a chess game and imagine the board as a map - most commonly, the board arrangement is determined by walking through how the pieces got there rather than giving each piece a coordinate

so for example, you could have instructions to place a city in the dead center, then a mountain range from east to west just north of the city, an enemy city a quarter of the map away to the north-east on the other side of the mountain range, and then an equal amount away but to the north-west have a hidden cave with the treasure, that will be visible only by the last light of Durin's Day, etc.

user2813274
  • 889
  • 8
  • 16
1

Up is Down

Up is down.

(I can't make comments yet)


*sigh*

Ok, this is a map featured in the third Pirates of the Caribbean movie. It consist of several Annulus of different sizes, with a circle in the center of them all.

I think this could be done with thin wood by attaching the circle and the outer annulus to other, more stable surface (like another piece of thin wood, either circular or square). Or, maybe it doesn't have to be attached at all; by leaving the pieces separated (and maybe split in several parts) they can be carried easily and add other level of difficulty to this. It could also be done in paper, though.

Since the pieces can be rotated, the key is the relative position of all the pieces.

If the annulus are split in several parts, its pieces have many ways to be put together as long as there are no recognizable "outlines" (as stated below), but that could be solved by adding fake ones. Each piece could have some sort of identifier, like signs, letters or numbers (don't have to be sequential, it may be "1", "-8", "Pi" for example), so one can remember their relative order.

All locations don't have to be real, only the relevant one. The rest can be fake to make it harder to solve the puzzle.

Annotations could be made like in the film (between one annulus and other, as seen in the pic), or inside of them.

You could use one key for the map in question, and other key for the annotations.

The downside of this is that it has to be a map of either many outlined parts (as is the case of the movie with islands), or a map of a zone with no recognizable outlines (e.g. a river). If it contains a river, the solution would be make only one part of the river "real" (the most relevant) and then complete it with fake splits, if possible in other part of the map but that, when using a certain key ("position") the fake river matches with the real (i.e. a "collision" in the "output").

noisypixy
  • 157
  • 3
  • You need to add some prose to go with the picture and link, or it will be deleted. What is that? Assume the link will be broken for some future reader. – JDługosz Jun 14 '15 at 07:30
0

As an extension to Andrew's answer, quickly generating pseudorandom binary strings for the one time pad by hand can done in the following way:

  • Take a number and transform it into binary.
  • Add a 0 to the end of the bit string.
  • Remove the first bit from the string.
  • XOR this string with the previous string.
  • This is your random string.
  • Repeat.

This is based on the Xorshift algorithm.

This algorithm will generate $2^n$ random numbers for a seed of length n. It is not secure, but it eliminates the need to share a large amount of random numbers.

An Example:

11011 (The start number) - First Number - 27.

110110 (Add a zero.)

10110 (Remove the first bit.)

01101 (XOR with previous result) - Second number - 21.

...

A simple implementation in Python:

def random(seed):
    seed ^= seed << 1
    yield seed
  • Welcome to Worldbuilding.SE. This seems a bit hard for working doable with medieval means, but the OP did not ask for medieval knowledge (binary are too new) though... – clem steredenn Jun 12 '15 at 12:59
  • @bilbo_pingouin Binary was discovered in 1679 by Liebniz - Is that too recent? – Tuomas Laakkonen Jun 13 '15 at 15:20
  • hard way to have 1672 in the middle ages. But it's up to the OP. – clem steredenn Jun 13 '15 at 15:23
  • Numbering systems with bases other than ten have existed since ancient times. The Sumerians used base 60. The Mayans used base 5 and 20. Plus several systems with no consistent base or where you can map it onto multiple bases depending on how you think about it. Nobody really messed with base 2 for general math, but there's no reason they couldn't have. The I Ching from ancient China uses binary and quaternary for divination, and the Egyptians used Horus-Eye notation for fractions and a binary process for multiplication. And Ars Generalis is a 13th century Western example. – Perkins May 24 '23 at 19:16