1 00:00:00,000 --> 00:00:01,480 Is everybody having a good day? 2 00:00:02,660 --> 00:00:04,900 That's awesome, I'm so glad to hear that. 3 00:00:04,980 --> 00:00:07,940 I had no idea how cool Roots Asylum was, 4 00:00:08,100 --> 00:00:10,520 but you people have drone wars in here. 5 00:00:10,820 --> 00:00:11,700 That's amazing. 6 00:00:12,500 --> 00:00:14,340 Encrypted relay race, that's wonderful. 7 00:00:15,200 --> 00:00:17,800 I'm here to talk to especially the kids today 8 00:00:17,800 --> 00:00:19,980 about how to tell your friends about crypto. 9 00:00:20,820 --> 00:00:24,100 I would love it if each and every one of you 10 00:00:24,100 --> 00:00:27,480 had the chance to teach one other person about encryption, 11 00:00:27,480 --> 00:00:30,280 about how you communicate with somebody else 12 00:00:30,280 --> 00:00:31,600 and feel safe doing it. 13 00:00:31,680 --> 00:00:33,320 Who wants to learn about that today? 14 00:00:34,100 --> 00:00:36,300 That is amazing, I'm so glad to see it. 15 00:00:36,440 --> 00:00:38,260 Can we get especially the little kids 16 00:00:38,260 --> 00:00:39,640 up a little closer to the front? 17 00:00:39,760 --> 00:00:41,640 You're gonna get a chance in the next 10 minutes 18 00:00:41,640 --> 00:00:44,160 to solve your own small crypto puzzle 19 00:00:44,160 --> 00:00:46,940 and learn how to teach your friends about cryptography, okay? 20 00:00:47,260 --> 00:00:48,540 Come on up, there you go. 21 00:00:48,840 --> 00:00:50,200 Just sit down right here, we're good. 22 00:00:51,660 --> 00:00:54,020 All right, come on on up. 23 00:00:54,700 --> 00:00:57,020 I have a faithful assistant today, 24 00:00:57,080 --> 00:00:57,460 my own friend, 25 00:00:57,460 --> 00:00:59,000 my awesome brand new husband, Deviant, 26 00:00:59,060 --> 00:01:00,120 and he's gonna do us a favor 27 00:01:00,120 --> 00:01:02,800 and pass out crypto puzzles to the kids up in the front. 28 00:01:03,400 --> 00:01:04,860 Does that mean, there you are. 29 00:01:05,820 --> 00:01:07,340 So hi, I'm Tara. 30 00:01:08,180 --> 00:01:09,980 I do stuff here at DEF CON 31 00:01:09,980 --> 00:01:12,740 and I'm gonna show you how to use a game 32 00:01:12,740 --> 00:01:14,720 I learned when I was in elementary school 33 00:01:14,720 --> 00:01:16,940 to teach other people about cryptography. 34 00:01:18,640 --> 00:01:22,080 I was kind of a nerd and I like to play games too, 35 00:01:22,240 --> 00:01:24,520 so this is my natural home, folks. 36 00:01:25,460 --> 00:01:26,140 All right. 37 00:01:26,340 --> 00:01:27,380 All right. 38 00:01:27,380 --> 00:01:29,380 I like games of every kind, every stripe. 39 00:01:29,540 --> 00:01:32,620 I love poker, which makes Vegas pretty fun and happy for me. 40 00:01:33,140 --> 00:01:37,920 And I learned about six or seven years ago 41 00:01:37,920 --> 00:01:40,420 more about cryptography than I thought I'd ever have to. 42 00:01:40,680 --> 00:01:42,400 I don't do crypto normally. 43 00:01:42,740 --> 00:01:44,100 Actually, most of the time, 44 00:01:44,100 --> 00:01:45,900 I run a security operations center 45 00:01:45,900 --> 00:01:47,080 or I do incident response. 46 00:01:47,380 --> 00:01:50,040 And in security, that's about doing stuff fast. 47 00:01:50,260 --> 00:01:53,100 Sometimes crypto is about doing stuff fun and slow. 48 00:01:53,400 --> 00:01:55,200 So let's learn a little bit more about it. 49 00:01:56,200 --> 00:01:58,240 Who knows what cryptography is? 50 00:01:58,400 --> 00:02:00,060 Best guess with one word. 51 00:02:01,320 --> 00:02:02,080 Best guess? 52 00:02:02,860 --> 00:02:03,760 What is it? 53 00:02:08,160 --> 00:02:08,680 Wonderful. 54 00:02:08,840 --> 00:02:10,780 It is the study of coded messages. 55 00:02:11,060 --> 00:02:12,180 That is fabulous. 56 00:02:12,500 --> 00:02:13,480 What does crypto mean? 57 00:02:13,600 --> 00:02:15,060 It means a secret, right? 58 00:02:15,240 --> 00:02:16,780 It means something that you don't know. 59 00:02:17,300 --> 00:02:18,920 Cryptography is just a secret 60 00:02:18,920 --> 00:02:21,520 that you and someone else have put together 61 00:02:21,520 --> 00:02:24,440 so you can hide a message and then unhide it, right? 62 00:02:24,440 --> 00:02:24,980 Good. 63 00:02:27,160 --> 00:02:30,880 Does anybody up here know what this crypto is right here? 64 00:02:31,020 --> 00:02:31,880 You ever seen it before? 65 00:02:32,360 --> 00:02:33,500 Come on, I know you know. 66 00:02:34,400 --> 00:02:35,220 Caesar's cipher. 67 00:02:35,500 --> 00:02:37,720 It's one of the, oh, I heard a kid's voice back there 68 00:02:37,720 --> 00:02:38,820 shouting Caesar's cipher. 69 00:02:38,900 --> 00:02:39,960 Come on up here and sit down. 70 00:02:40,020 --> 00:02:41,520 You're gonna get a crypto puzzle in a minute. 71 00:02:42,120 --> 00:02:44,280 All right, this is a Caesar's cipher. 72 00:02:44,460 --> 00:02:46,860 The easiest way to explain to your friends 73 00:02:46,860 --> 00:02:50,980 what cryptography is is a substitution cipher, right? 74 00:02:51,100 --> 00:02:54,340 When one letter of the alphabet means a different, 75 00:02:54,340 --> 00:02:55,500 different letter of the alphabet. 76 00:02:55,720 --> 00:02:57,380 It's really easy to understand, 77 00:02:57,620 --> 00:03:00,220 and it's something I'm gonna show you how to do today, okay? 78 00:03:02,420 --> 00:03:06,440 Does anybody in here know what rot or rotate 13 means? 79 00:03:06,700 --> 00:03:09,200 If a Caesar's cipher, oh, go, bring it. 80 00:03:11,020 --> 00:03:11,540 Yep. 81 00:03:12,480 --> 00:03:15,040 And you add 13 to it, that's wonderful. 82 00:03:15,400 --> 00:03:20,120 So in rot or rotate 13, what is the letter A equal? 83 00:03:20,340 --> 00:03:21,060 Does anybody know? 84 00:03:23,280 --> 00:03:24,300 M. M, awesome. 85 00:03:24,340 --> 00:03:25,760 I heard a little girl back there. 86 00:03:25,880 --> 00:03:27,420 Come on and sit up at the front if you'd like to. 87 00:03:28,400 --> 00:03:31,840 That's right, an A equals an M in rot 13, 88 00:03:32,000 --> 00:03:33,120 and you're all gonna get a chance 89 00:03:33,120 --> 00:03:35,000 to do this kind of puzzle in just a minute. 90 00:03:35,560 --> 00:03:36,880 This is what it looks like. 91 00:03:36,960 --> 00:03:38,740 It's why we call it rot or rotate. 92 00:03:39,060 --> 00:03:42,040 It's just a wheel of letters just like this. 93 00:03:42,380 --> 00:03:44,900 And if you want to, you can look those up 94 00:03:44,900 --> 00:03:47,700 on your phones right now or any machine you have 95 00:03:47,700 --> 00:03:51,260 in front of you and pull up a rot 13 alphabet, okay? 96 00:03:51,880 --> 00:03:54,320 If you wanna play along, and I highly advise it, 97 00:03:55,380 --> 00:03:58,860 Does anybody know why people at crypto parties 98 00:03:58,860 --> 00:04:01,860 who are kinda nerds like to joke about rot 26? 99 00:04:02,680 --> 00:04:04,440 What is A in rot 26? 100 00:04:04,580 --> 00:04:05,600 The little girl back here. 101 00:04:06,320 --> 00:04:09,840 It's A, bravo, awesome, I'm so glad you said that. 102 00:04:10,020 --> 00:04:11,300 That's why it's funny, right? 103 00:04:11,400 --> 00:04:13,420 If you encrypt something with rot 26, 104 00:04:13,760 --> 00:04:16,100 it's just the alphabet again, and it's really funny. 105 00:04:16,260 --> 00:04:16,920 Very good. 106 00:04:17,160 --> 00:04:18,740 You can come to my next party. 107 00:04:20,600 --> 00:04:22,260 Does anybody know what this is? 108 00:04:22,980 --> 00:04:23,920 It's a box. 109 00:04:23,920 --> 00:04:25,560 It's a box you can open, and it's called a, 110 00:04:27,400 --> 00:04:28,080 anybody know? 111 00:04:29,120 --> 00:04:32,520 Adults are allowed to guess on, cryptex, awesome, yes. 112 00:04:32,820 --> 00:04:34,500 Didn't even require an adult on that one. 113 00:04:34,580 --> 00:04:36,300 A cryptex, it's a box you can open 114 00:04:36,300 --> 00:04:39,080 by understanding a substitution cipher, just like this one. 115 00:04:40,640 --> 00:04:43,500 That's just what your locks are on your lockers 116 00:04:43,500 --> 00:04:44,640 at school, by the way. 117 00:04:44,800 --> 00:04:46,320 Not that I'm giving you any hints. 118 00:04:46,500 --> 00:04:47,780 That's my husband's job. 119 00:04:47,900 --> 00:04:49,980 He'll teach you about locks and breaking into things 120 00:04:49,980 --> 00:04:50,540 in a little bit. 121 00:04:52,140 --> 00:04:53,740 Does anybody know what this is? 122 00:04:55,260 --> 00:04:58,700 The secret to cryptography is never being scared of it. 123 00:04:58,780 --> 00:05:02,380 This is called a Vigenere cipher, and this is just where 124 00:05:02,380 --> 00:05:05,180 cryptography went over the last several hundred years. 125 00:05:05,440 --> 00:05:08,580 But the basis of all of these secrets is just knowing 126 00:05:08,580 --> 00:05:11,400 that one letter is gonna stand for another letter, okay? 127 00:05:13,440 --> 00:05:16,060 Sometimes you need a secret in crypto to be really, 128 00:05:16,120 --> 00:05:16,640 really strong. 129 00:05:16,940 --> 00:05:20,740 So if all you have for information is just one letter 130 00:05:20,740 --> 00:05:23,120 and another letter, sometimes you add in something, 131 00:05:23,740 --> 00:05:26,440 that gives your cryptography a little bit of randomness. 132 00:05:26,580 --> 00:05:28,840 What is that little bit of chaos called? 133 00:05:28,940 --> 00:05:29,580 Does anybody know? 134 00:05:31,240 --> 00:05:32,600 You use it with pepper. 135 00:05:35,880 --> 00:05:36,920 Salt, exactly. 136 00:05:37,500 --> 00:05:39,380 You add a little bit of randomness, 137 00:05:39,420 --> 00:05:41,340 and then you get something that only you 138 00:05:41,340 --> 00:05:43,040 and somebody else can unlock. 139 00:05:44,660 --> 00:05:46,220 Who's played this game before? 140 00:05:46,360 --> 00:05:48,100 Mansion, apartment, shack, house. 141 00:05:48,520 --> 00:05:49,720 This is so great. 142 00:05:49,920 --> 00:05:53,540 I did this talk yesterday for crypto and privacy, 143 00:05:53,740 --> 00:05:56,480 Village, and almost none of the boys got it there. 144 00:05:56,620 --> 00:06:00,400 All the girls played Mansion, apartment, shack, house 145 00:06:00,400 --> 00:06:01,920 when they were in elementary school. 146 00:06:02,140 --> 00:06:04,480 And if you were like me, you counted in advance 147 00:06:04,480 --> 00:06:06,620 backward in your head to make sure you ended up 148 00:06:06,620 --> 00:06:07,840 with Bobby from the third grade. 149 00:06:10,220 --> 00:06:12,780 So this is a game that lets you show people 150 00:06:12,780 --> 00:06:14,520 how cryptography works. 151 00:06:14,700 --> 00:06:17,460 It rotates in a circle, and you pick out and eliminate 152 00:06:18,060 --> 00:06:21,060 the different choices that you have after you set yourself 153 00:06:21,060 --> 00:06:23,720 up with Porsches and mansions and fun stuff like that. 154 00:06:23,720 --> 00:06:27,600 You do it by drawing a spiral circle until someone else 155 00:06:27,600 --> 00:06:30,500 who's not looking says stop, and you count the rings. 156 00:06:30,940 --> 00:06:34,200 The number of rings outward is how many times 157 00:06:34,200 --> 00:06:35,780 you go around the circle, right? 158 00:06:36,080 --> 00:06:38,580 So you have your randomness, you're going around 159 00:06:38,580 --> 00:06:40,820 in a circle, and you're eliminating choices 160 00:06:40,820 --> 00:06:42,740 until you end up with a final sentence. 161 00:06:42,980 --> 00:06:45,500 I live in a mansion with Bobby, and I drive a Porsche. 162 00:06:45,840 --> 00:06:47,940 And I still have student loans, which most 163 00:06:47,940 --> 00:06:50,140 of the adults would get, all right? 164 00:06:51,000 --> 00:06:52,280 So here's the question. 165 00:06:53,900 --> 00:06:57,760 This right here is the opposite of a Caesar cipher, okay? 166 00:06:57,920 --> 00:06:59,520 It's A, X plus three. 167 00:06:59,740 --> 00:07:03,180 A equals the letter that you're going for, plus three. 168 00:07:03,660 --> 00:07:07,940 If A plus three is our crypto, what does X equal? 169 00:07:08,160 --> 00:07:09,720 What is the letter you're gonna get? 170 00:07:10,580 --> 00:07:11,340 Best guess? 171 00:07:11,960 --> 00:07:12,860 It's the opposite. 172 00:07:12,960 --> 00:07:15,220 So if a D is an A in a Caesar cipher, 173 00:07:15,360 --> 00:07:17,000 what is an A in the opposite? 174 00:07:17,940 --> 00:07:19,520 It's a D, good, exactly. 175 00:07:21,160 --> 00:07:22,380 Now we understand. 176 00:07:23,720 --> 00:07:26,100 What cryptography is is just adding stuff to this equation 177 00:07:26,100 --> 00:07:28,900 until it gets so complex that people can't guess it 178 00:07:28,900 --> 00:07:29,460 really easily. 179 00:07:29,680 --> 00:07:32,480 Then you add the randomness in so that computers 180 00:07:32,480 --> 00:07:34,140 can't guess it really easily, right? 181 00:07:34,640 --> 00:07:35,160 Exactly. 182 00:07:36,780 --> 00:07:40,540 Now we have a secret one person has and another person has. 183 00:07:40,900 --> 00:07:43,100 In just a second, you're gonna do your own 184 00:07:43,100 --> 00:07:46,480 ROT 13 translation, but I want you all to realize 185 00:07:46,960 --> 00:07:49,580 the only thing cryptography is when you explain it 186 00:07:49,580 --> 00:07:52,260 to your friends, and please, explain it to your parents too, 187 00:07:53,720 --> 00:07:55,040 because it's an equation that lets you translate 188 00:07:55,040 --> 00:07:56,460 numbers and letters, okay? 189 00:07:57,000 --> 00:07:57,880 Sound pretty fair? 190 00:07:58,100 --> 00:07:59,300 Not scary at all. 191 00:07:59,420 --> 00:08:01,700 In fact, it's a lot of fun for puzzles and games. 192 00:08:03,620 --> 00:08:05,420 So as you're sitting at your computers, 193 00:08:05,540 --> 00:08:07,480 I want you to recognize that all you're doing 194 00:08:07,980 --> 00:08:10,600 is just letting your computer translate a secret for you. 195 00:08:10,720 --> 00:08:13,660 So for all the kids up here who wanna try their own puzzle, 196 00:08:13,820 --> 00:08:15,680 I'm gonna ask Debian over here to pass out 197 00:08:15,680 --> 00:08:16,860 the small slips of paper. 198 00:08:17,300 --> 00:08:19,380 You already got, does everybody have a slip of paper 199 00:08:19,380 --> 00:08:20,100 that wants one? 200 00:08:20,880 --> 00:08:22,140 Everybody's got one that wants one? 201 00:08:22,580 --> 00:08:23,020 Okay. 202 00:08:23,720 --> 00:08:26,780 I would like you, if you don't have a ROT 13 alphabet 203 00:08:26,780 --> 00:08:28,380 pulled up on your phone or your computer 204 00:08:28,380 --> 00:08:31,400 to share with a friend and translate the secret 205 00:08:31,400 --> 00:08:32,900 that I gave you, all right? 206 00:08:33,460 --> 00:08:36,660 I don't know you, but I know what code you need to use 207 00:08:36,660 --> 00:08:37,540 and so do you. 208 00:08:37,660 --> 00:08:38,640 So give it a shot. 209 00:08:41,280 --> 00:08:45,620 The first person that calls out what their secret is 210 00:08:45,620 --> 00:08:47,220 and do it by yourself without your parents 211 00:08:47,220 --> 00:08:50,280 or with your friends, the first person that calls that out 212 00:08:50,280 --> 00:08:53,400 gets the raspberry pie I just won for knowing comic book 213 00:08:53,400 --> 00:08:53,640 stuff. 214 00:08:54,920 --> 00:08:55,640 What is it? 215 00:08:56,520 --> 00:08:57,260 Road trip. 216 00:08:57,420 --> 00:08:58,760 We have a winner of an apple pie. 217 00:08:58,980 --> 00:08:59,460 Let's bring it. 218 00:09:00,720 --> 00:09:01,420 Apple pie. 219 00:09:01,620 --> 00:09:02,720 Wait, no, that's a raspberry pie. 220 00:09:02,820 --> 00:09:03,240 I'm hungry. 221 00:09:03,740 --> 00:09:05,660 I need apple pie really badly. 222 00:09:06,460 --> 00:09:06,900 Congratulations. 223 00:09:09,900 --> 00:09:10,780 Keep translating. 224 00:09:11,000 --> 00:09:13,600 Now, there's more prizes, all right? 225 00:09:13,820 --> 00:09:16,760 Come and talk to me later on if you want to try to translate 226 00:09:16,760 --> 00:09:17,920 a random rotation. 227 00:09:18,460 --> 00:09:21,080 What is something that a random rotation might be? 228 00:09:21,340 --> 00:09:21,780 Right? 229 00:09:22,280 --> 00:09:23,380 If it was the, you know, a rocket that was flying. 230 00:09:23,400 --> 00:09:34,900 Rot 5. What do you think A would be in Rot 5? E, exactly. That's the answer. So I would love it if 231 00:09:34,900 --> 00:09:39,120 you come up and get more advanced puzzles and try it out. For those of you that haven't tried 232 00:09:39,120 --> 00:09:44,900 crypto puzzles before, try a site called rumkin.com and try translating it in all the different 233 00:09:44,900 --> 00:09:50,580 rotations you can find. This is all cryptography is. It's how you keep those messages safe and 234 00:09:50,580 --> 00:09:57,260 secure. Yes, I'm sure. And the thing I want you to remember is that when you get the chance, 235 00:09:57,380 --> 00:10:02,940 explain to everybody that you know, crypto's not magic. It's just a little bit of math and a whole 236 00:10:02,940 --> 00:10:09,400 lot of trust and the ability to talk to people and feel safe doing it. Y'all get the idea? Yes? 237 00:10:10,300 --> 00:10:15,160 Awesome. I am so proud. Ask me anything you want to know. I don't do this for a living. I just 238 00:10:15,160 --> 00:10:19,380 kind of get it. And if you want to know these puzzles, it's a great idea if you want to grow 239 00:10:19,380 --> 00:10:20,040 up to be a hacker. 240 00:10:20,580 --> 00:10:22,340 A little bit about crypto too. Thanks, kids.