1 00:00:11,480 --> 00:00:25,080 Some crazy speech on, uh, math, uh, are you stealing slides? What? Who's got a, what? 2 00:00:25,740 --> 00:00:33,980 What the fuck? Oh, right, okay. We'll, okay. Ha! We'll start with, uh, hi Bill. We'll start with, uh, the basics, alright? 3 00:00:34,220 --> 00:00:42,440 Uh, do you guys know what, uh, bigger notation is? Like, everyone? Is there anyone who doesn't know? 4 00:00:44,040 --> 00:00:49,820 Alright, great, that's great. Alright, uh, do you guys know, uh, this is going great. 5 00:00:49,940 --> 00:00:54,400 Do you guys know greatest common divisor and, uh, the Euclidean algorithm? Everyone? 6 00:00:56,040 --> 00:01:12,240 No? Okay, I can, I can do Euclids really quick. Uh, uh, okay, Euclidean algorithm, you got, you got, everyone knows what the greatest common divisor of two numbers is, right? 7 00:01:14,100 --> 00:01:22,680 Okay, uh, the Euclidean algorithm does that in log base 10n. That's the bigger notation. I glossed over that before. 8 00:01:23,020 --> 00:01:24,680 And, uh, the way it does it is... 9 00:01:25,140 --> 00:01:44,520 You take two numbers, let's call them A and B, and the bigger being A, and, uh, you do A modules B, and then the remainder goes into R, and then you shift those over so B becomes A and R becomes B, and do it again, and you keep doing that until R equals 0, and when you're done, B is the greatest common divisor. 10 00:01:44,940 --> 00:01:49,540 It's really fucking fast. Like, log base 10n, right? Great. 11 00:01:51,200 --> 00:01:54,000 Oh, uh, modular math. Do you guys... 12 00:01:55,080 --> 00:01:57,360 Can you be able to show this to me? 13 00:01:58,500 --> 00:02:01,020 Oh, matrix. Ask if anybody... 14 00:02:01,020 --> 00:02:03,700 What? Yeah. I'll pass it around. 15 00:02:04,200 --> 00:02:04,680 Right. 16 00:02:04,780 --> 00:02:07,740 Ask if anybody just has a really long RCA patch cable. 17 00:02:07,820 --> 00:02:11,580 Does anyone have a really long RCA patch cable? Nick Farr wonders. 18 00:02:16,300 --> 00:02:17,100 This is great. 19 00:02:17,700 --> 00:02:22,140 Okay, well, modular, modular math. 20 00:02:22,260 --> 00:02:24,660 Do you guys know what, like, if I were to say... 21 00:02:25,080 --> 00:02:28,960 27 is congruent to 3 modulo 12. Do you guys know what that means? 22 00:02:32,480 --> 00:02:51,120 Okay. It looks like 27 and an equal sign with three bars, and then three, and then a parenthesis, and then modulo 12, and it's written in, like, if you were writing in C, it would be 27 percent sign, 12 equals 3. 23 00:02:51,400 --> 00:02:53,620 It's basically, like, think of it like an if-case statement. 24 00:02:55,140 --> 00:03:00,040 And, uh, I really need an overhead for this. 25 00:03:04,240 --> 00:03:16,600 Uh, because the next thing I was going to go over was Euler's Totem Function, and, uh, it looks like a, it's the Greek character phi. 26 00:03:19,060 --> 00:03:21,620 All right, someone try and make that work or do something. 27 00:03:21,740 --> 00:03:23,380 I don't know what the... 28 00:03:26,160 --> 00:03:26,900 All right. 29 00:03:27,060 --> 00:03:28,200 Did you find DT? 30 00:03:28,380 --> 00:03:29,520 Yeah, I found DT. 31 00:03:29,540 --> 00:03:30,180 So what's up? 32 00:03:30,280 --> 00:03:32,780 I was supposed to be getting an overhead over here. 33 00:03:32,800 --> 00:03:33,560 All right, well... 34 00:03:33,560 --> 00:03:36,080 Somebody explain what the possibilities are. 35 00:03:36,140 --> 00:03:37,800 All right, well, they do, they do whatever. 36 00:03:38,020 --> 00:03:41,600 You guys have, use your imaginations, okay? 37 00:03:41,900 --> 00:03:53,400 Uh, does, does anyone have an RCA female-to-female gender changer? 38 00:03:56,400 --> 00:03:58,040 Because Nick Farr wants one. 39 00:04:00,240 --> 00:04:06,700 Yeah, why don't you sit in a chair here, do your scribbling, bounce fakers on stage, I mean, because... 40 00:04:07,860 --> 00:04:12,640 Someone, someone figure something out, I don't care, but, uh... 41 00:04:12,640 --> 00:04:17,080 On what, though? What are we going to write on? 42 00:04:20,340 --> 00:04:22,260 What are the tablecloths over there? 43 00:04:22,380 --> 00:04:24,080 I'm not going to type latex. 44 00:04:28,120 --> 00:04:30,200 Did Derek get a mission in the house? 45 00:04:34,000 --> 00:04:34,600 Um... 46 00:04:36,780 --> 00:04:37,980 Yeah, well... 47 00:04:39,200 --> 00:04:42,760 Uh, do you guys want to just... 48 00:04:42,760 --> 00:04:43,180 What? 49 00:04:45,540 --> 00:04:46,900 To do what? 50 00:04:50,680 --> 00:04:53,340 Yeah, do whatever you want, move that shit around. 51 00:04:53,540 --> 00:04:54,880 Uh, I just... 52 00:04:55,080 --> 00:04:57,500 I just want you people to see this overhead. 53 00:04:57,920 --> 00:04:58,800 It's all I want. 54 00:04:59,720 --> 00:05:01,320 All right, set up a chair. 55 00:05:02,540 --> 00:05:05,520 Grab a tablecloth, as long as you give me a white background. 56 00:05:06,020 --> 00:05:06,140 What? 57 00:05:06,240 --> 00:05:07,740 You can bounce down on this. 58 00:05:08,860 --> 00:05:09,680 What, uh... 59 00:05:10,480 --> 00:05:13,100 So, what do you want me to do with the ten-minute break? 60 00:05:13,140 --> 00:05:13,960 Do you want me to entertain you? 61 00:05:14,720 --> 00:05:16,760 Would you like me, would you like me to sing? 62 00:05:17,620 --> 00:05:18,060 What? 63 00:05:18,400 --> 00:05:20,300 I can sing. 64 00:05:20,700 --> 00:05:22,760 I can sing. 65 00:05:22,760 --> 00:05:24,340 Is that all you people want? 66 00:05:26,500 --> 00:05:27,860 All right, whatever. 67 00:05:29,120 --> 00:05:35,260 We'll skip over what's called a quantum bit, and, uh, all right, so there's lots of different 68 00:05:35,260 --> 00:05:41,180 ways to do that using physics and all sorts of other crazy stuff, but, uh, for the time 69 00:05:41,180 --> 00:05:45,220 being, just like, whenever I talk about any quantum physics, just, uh, forget all physics 70 00:05:45,220 --> 00:05:52,380 and imagine that it's magic, because it is, and, uh, oh, it is, and, uh, okay, first 71 00:05:52,380 --> 00:05:53,500 thing, uh, superposition. 72 00:05:53,500 --> 00:06:01,060 Uh, a quantum bit, like, it's, can be a zero or a one, or it can be what's called a superposition, 73 00:06:01,220 --> 00:06:06,740 which is in, uh, in-between state between the two, and it's only a one or a zero if 74 00:06:06,740 --> 00:06:07,200 it's a... 75 00:06:10,020 --> 00:06:15,480 So, it's only a one or a zero if it's already decohered, which is making no sense right 76 00:06:15,480 --> 00:06:18,400 now, because I don't have any overheads. 77 00:06:18,700 --> 00:06:21,220 Uh, okay, so... 78 00:06:22,320 --> 00:06:22,800 What's that? 79 00:06:23,500 --> 00:06:23,940 Overhead? 80 00:06:24,220 --> 00:06:26,500 A couple minutes, great. 81 00:06:29,680 --> 00:06:30,600 Uh, what's up? 82 00:06:30,920 --> 00:06:32,240 What do you want me to do? 83 00:06:32,320 --> 00:06:32,760 Tell me... 84 00:06:33,660 --> 00:06:37,140 I can sing, I can sing Peter Gabriel pretty well. 85 00:06:39,280 --> 00:06:41,320 It's a song I used to always sing. 86 00:06:42,940 --> 00:06:44,360 What do you want me to sing about? 87 00:06:44,680 --> 00:06:47,660 I'm going to sing about... 88 00:06:47,660 --> 00:06:48,100 What? 89 00:06:48,180 --> 00:06:48,400 I... 90 00:06:48,400 --> 00:06:50,320 You guys are all talking, it's... 91 00:06:50,820 --> 00:06:51,260 What? 92 00:06:51,760 --> 00:06:52,200 What? 93 00:06:53,500 --> 00:06:54,620 All right, I got a joke for you. 94 00:06:54,900 --> 00:07:00,840 All right, uh, so this, this grasshopper walks into a bar, and, uh, the bartender's like, 95 00:07:00,960 --> 00:07:03,960 hey, we got a drink named after you, and the grasshopper goes, really? 96 00:07:04,100 --> 00:07:05,160 You got a drink named Lenny? 97 00:07:10,420 --> 00:07:10,780 What's up? 98 00:07:11,360 --> 00:07:12,520 Very delicate operation. 99 00:07:12,680 --> 00:07:14,460 All right, is this a hacker convention or what? 100 00:07:18,960 --> 00:07:19,360 What's up? 101 00:07:19,580 --> 00:07:21,080 I'm just going to snag out your... 102 00:07:21,740 --> 00:07:22,100 Whew! 103 00:07:25,640 --> 00:07:29,640 All right, well, we, we, we still have the problem that, like, I, I wrote these while 104 00:07:29,640 --> 00:07:31,740 I was really fucked up last night, so... 105 00:07:34,540 --> 00:07:36,540 All right, no, no, we're good, we're good. 106 00:07:37,140 --> 00:07:41,680 No, it's just, don't, don't, don't die on that thing, and, you, duck, duck. 107 00:07:41,980 --> 00:07:43,060 Yeah, great, okay. 108 00:07:44,040 --> 00:07:44,440 What? 109 00:07:45,220 --> 00:07:46,020 Just don't... 110 00:07:46,560 --> 00:07:46,960 What? 111 00:07:49,320 --> 00:07:50,640 This is good, this is good! 112 00:07:51,500 --> 00:07:51,900 Aw! 113 00:07:52,260 --> 00:07:52,660 Aw! 114 00:07:52,660 --> 00:07:52,920 Aw! 115 00:07:52,980 --> 00:07:53,380 Aw! 116 00:07:53,500 --> 00:07:54,320 Well, I'm... 117 00:07:54,320 --> 00:07:56,160 So, there... 118 00:07:57,150 --> 00:07:57,620 Uh... 119 00:07:58,600 --> 00:07:59,540 Yeah. 120 00:08:06,460 --> 00:08:09,060 So, um, uh... 121 00:08:12,000 --> 00:08:13,760 What, um, uh... 122 00:08:15,250 --> 00:08:15,720 Oh! 123 00:08:17,400 --> 00:08:18,340 Oh! 124 00:08:19,170 --> 00:08:19,640 Oh! 125 00:08:21,820 --> 00:08:21,900 Oh! 126 00:08:23,300 --> 00:08:23,480 Oh! 127 00:08:23,500 --> 00:08:23,540 Oh! 128 00:08:23,540 --> 00:08:23,740 Oh! 129 00:08:26,220 --> 00:08:26,540 Oh! 130 00:08:28,140 --> 00:08:28,460 Oh! 131 00:08:28,460 --> 00:08:28,500 Oh! 132 00:08:31,020 --> 00:08:31,340 Oh! 133 00:08:31,340 --> 00:08:32,360 You've got great timing. 134 00:08:33,940 --> 00:08:34,860 Here, we're fine, but... 135 00:08:34,860 --> 00:08:35,060 What? 136 00:08:35,100 --> 00:08:36,460 Are we, are we going to do this thing, or what? 137 00:08:36,640 --> 00:08:36,960 Yeah, we... 138 00:08:36,960 --> 00:08:37,420 I said... 139 00:08:38,680 --> 00:08:39,000 What? 140 00:08:40,460 --> 00:08:40,780 What? 141 00:08:40,780 --> 00:08:40,920 What? 142 00:08:41,000 --> 00:08:41,060 What? 143 00:08:41,060 --> 00:08:41,160 What? 144 00:08:41,160 --> 00:08:43,100 It's better with this, because then you can stay up here. 145 00:08:43,200 --> 00:08:44,120 No, we'll do the overt. 146 00:08:44,300 --> 00:08:45,900 Plug that fucker in. 147 00:08:45,980 --> 00:08:46,380 Start now. 148 00:08:46,860 --> 00:08:48,160 All right, I'll start on this thing. 149 00:08:48,240 --> 00:08:48,540 All right. 150 00:08:48,540 --> 00:08:50,320 All right, you guys can see that, right? 151 00:08:51,800 --> 00:08:55,900 All right, going back to math, all the way back, 152 00:08:57,680 --> 00:08:59,640 glossed over big O and all that shit, 153 00:09:00,360 --> 00:09:03,160 Euler's totem function, basically phi of n, 154 00:09:03,280 --> 00:09:05,560 it's the number of numbers that are between one 155 00:09:05,560 --> 00:09:07,580 and n minus one that are relatively prime. 156 00:09:07,820 --> 00:09:09,480 Do you guys know what relatively prime means? 157 00:09:10,320 --> 00:09:12,940 Okay, it's, it's greatest common divisor, yeah. 158 00:09:13,220 --> 00:09:16,260 Okay, and so that's phi right there. 159 00:09:16,260 --> 00:09:20,380 And then, Euler also had a theorem, which is right there. 160 00:09:20,460 --> 00:09:22,120 If t and r are relatively prime to each other, 161 00:09:22,720 --> 00:09:25,720 and t's the bigger one, then t phi r 162 00:09:25,720 --> 00:09:28,260 is congruent to one modulo r, 163 00:09:28,900 --> 00:09:31,020 which means, basically, if you take t, 164 00:09:31,720 --> 00:09:37,120 if you take t and you multiply it by itself phi r times, 165 00:09:37,300 --> 00:09:40,620 and divide the result by r, you will always get one. 166 00:09:41,260 --> 00:09:42,640 So that's all that says right there. 167 00:09:44,060 --> 00:09:45,900 And they're still doing overhead. 168 00:09:45,900 --> 00:09:46,280 Oh, shit. 169 00:09:48,920 --> 00:09:53,500 So what that's used for is, what the, what in the? 170 00:09:58,860 --> 00:10:02,440 Oh yeah, no, no, no, I remember what I was doing here. 171 00:10:02,660 --> 00:10:03,760 All right, check this out, check this out. 172 00:10:03,920 --> 00:10:06,420 Hey, give me that, give me back that Euler's totem. 173 00:10:07,260 --> 00:10:08,460 Quit moving my stuff around. 174 00:10:08,600 --> 00:10:09,980 All right, great, check this out. 175 00:10:12,000 --> 00:10:12,360 Die! 176 00:10:12,700 --> 00:10:13,380 All right, great. 177 00:10:14,740 --> 00:10:15,700 All right, great. 178 00:10:15,900 --> 00:10:17,740 Can I pull this, can I pull this mic up? 179 00:10:30,880 --> 00:10:32,100 That's all the slack you got. 180 00:10:33,440 --> 00:10:34,480 I'm looking at it. 181 00:10:41,460 --> 00:10:41,900 Yeah. 182 00:10:43,020 --> 00:10:43,200 Yeah. 183 00:10:44,920 --> 00:10:45,360 Yeah. 184 00:10:45,440 --> 00:10:45,880 Yeah. 185 00:10:54,940 --> 00:10:55,660 I'm not sure. 186 00:10:55,660 --> 00:10:55,900 Like that. 187 00:11:00,500 --> 00:11:00,860 Go. 188 00:11:01,600 --> 00:11:01,960 Great. 189 00:11:02,380 --> 00:11:03,040 What the? 190 00:11:04,220 --> 00:11:04,680 What do you mean? 191 00:11:04,740 --> 00:11:05,660 What the fuck happened to my note cards? 192 00:11:07,360 --> 00:11:08,860 Would you quit moving my shit? 193 00:11:09,140 --> 00:11:09,660 All right. 194 00:11:09,760 --> 00:11:11,920 Okay, excuse me. 195 00:11:12,320 --> 00:11:14,300 Well, I know we don't have to actually speak, huh? 196 00:11:15,900 --> 00:11:24,080 All right, so we got the Euler's Totem Theorem, right? 197 00:11:24,800 --> 00:11:28,500 And this is what RSA is based on completely, basically. 198 00:11:28,940 --> 00:11:32,180 So we start out with that theorem right there in general. 199 00:11:32,260 --> 00:11:41,000 And by just basic math, we can multiply it by itself on both sides, right? 200 00:11:48,240 --> 00:11:52,220 All right, do you guys really want to see me derive this or not? 201 00:11:52,980 --> 00:11:54,400 All right, no, okay, that's great. 202 00:11:55,560 --> 00:11:57,920 The end product, just the RSA in general. 203 00:11:58,100 --> 00:11:59,860 All right, I'll do this fast, I'll do this fast. 204 00:12:09,100 --> 00:12:10,400 Yeah, just for you, Bill. 205 00:12:13,500 --> 00:12:15,340 If you guys don't know what I'm doing here, 206 00:12:15,380 --> 00:12:15,880 just stop. 207 00:12:15,900 --> 00:12:18,180 I mean, like, this combines this. 208 00:12:23,780 --> 00:12:27,200 All right, and you see how you can keep repeating doing this? 209 00:12:27,880 --> 00:12:30,440 Like, you just keep multiplying by T pi R, 210 00:12:30,500 --> 00:12:32,260 and since you're already doing it, 211 00:12:32,300 --> 00:12:33,700 since it's modular arithmetic, 212 00:12:33,960 --> 00:12:35,880 you can do that as many times as you want, 213 00:12:36,020 --> 00:12:37,900 and it doesn't matter because it's modulus, right? 214 00:12:38,060 --> 00:12:39,280 The third line has to be a plus. 215 00:12:39,800 --> 00:12:40,200 Where? 216 00:12:41,120 --> 00:12:41,600 The who? 217 00:12:41,720 --> 00:12:42,640 Oh, yeah, good. 218 00:12:44,700 --> 00:12:45,380 No, he's right. 219 00:12:46,680 --> 00:12:50,780 And so, anyways, yeah, so you get that, right? 220 00:12:50,900 --> 00:12:55,100 So you can keep doing that, and let's call this an S, 221 00:12:56,400 --> 00:12:58,320 and that's any integer, all right? 222 00:13:00,800 --> 00:13:02,740 So that's, like, our first modification to that. 223 00:13:02,840 --> 00:13:07,120 And then the second thing we do is we've got T, S, 224 00:13:13,180 --> 00:13:14,780 drugs, multiply both sides by T, 225 00:13:17,600 --> 00:13:18,580 just gives us mod R, 226 00:13:19,420 --> 00:13:22,620 and then, like, we can keep, well, 227 00:13:24,060 --> 00:13:25,740 okay, so we've got a times T here, 228 00:13:25,800 --> 00:13:28,220 times T at, like, exponential math, right? 229 00:13:34,120 --> 00:13:34,800 Great, right? 230 00:13:35,140 --> 00:13:36,120 Everyone got that so far? 231 00:13:37,220 --> 00:13:38,860 And then, like, like we did before, 232 00:13:38,900 --> 00:13:39,680 we can keep doing that. 233 00:13:39,800 --> 00:13:41,820 We can keep multiplying T by both sides, 234 00:13:42,480 --> 00:13:44,860 and, uh, stop moving. 235 00:13:51,960 --> 00:13:53,440 So we can keep doing that, 236 00:13:53,500 --> 00:13:54,440 and we can make this an E eventually. 237 00:13:55,700 --> 00:13:57,940 But really, the one we want is the one with the, uh, 238 00:14:00,280 --> 00:14:03,360 plus one, because we can take T, S, 239 00:14:04,320 --> 00:14:06,000 phi R plus one, 240 00:14:06,680 --> 00:14:09,640 convert to T, mod R. 241 00:14:10,740 --> 00:14:11,420 Let's just do that. 242 00:14:11,480 --> 00:14:11,680 Great. 243 00:14:12,220 --> 00:14:13,860 And, uh, we take that, 244 00:14:13,980 --> 00:14:15,880 and then this part right here is what we're interested in. 245 00:14:16,940 --> 00:14:18,840 So we take that, and we create, 246 00:14:19,500 --> 00:14:21,260 take that, and we create a, uh, 247 00:14:22,140 --> 00:14:23,060 sit, alright, great. 248 00:14:23,220 --> 00:14:25,200 We say P times Q equals that, right? 249 00:14:26,400 --> 00:14:26,940 And, uh, 250 00:14:29,020 --> 00:14:31,660 S, phi, R plus one. 251 00:14:32,100 --> 00:14:33,340 So there's our P and Q, 252 00:14:33,440 --> 00:14:34,380 which will be our two prime numbers 253 00:14:34,380 --> 00:14:35,260 that we generate a key with. 254 00:14:35,640 --> 00:14:36,980 So we substitute that in. 255 00:14:43,020 --> 00:14:44,600 And then from that, we can get 256 00:14:44,600 --> 00:14:44,700 S, phi R plus one, 257 00:14:44,700 --> 00:14:45,740 and we can do that. 258 00:14:45,740 --> 00:14:46,580 Let's get it squeezed on. 259 00:14:57,980 --> 00:14:58,420 Great. 260 00:14:58,660 --> 00:15:01,320 There, uh, right here, uh, 261 00:15:03,720 --> 00:15:05,200 oh, over, right, great. 262 00:15:05,400 --> 00:15:07,680 Uh, yeah, so there's, uh, 263 00:15:08,580 --> 00:15:10,100 there's your encryption, decryption algorithm, 264 00:15:10,200 --> 00:15:11,740 respectively, for RSA. 265 00:15:12,040 --> 00:15:13,760 Uh, basically RSA works on, 266 00:15:14,240 --> 00:15:14,680 uh, 267 00:15:14,700 --> 00:15:15,600 if you don't know the basic principles, 268 00:15:15,700 --> 00:15:15,960 it's, uh, 269 00:15:16,960 --> 00:15:18,460 it takes really big, uh, 270 00:15:18,620 --> 00:15:20,980 the, the product of two really big, uh, 271 00:15:21,160 --> 00:15:21,740 prime numbers, 272 00:15:22,200 --> 00:15:22,580 and 273 00:15:24,120 --> 00:15:24,700 it, you, 274 00:15:24,800 --> 00:15:26,540 using that in Euler's totem, uh, 275 00:15:26,720 --> 00:15:27,180 function, 276 00:15:27,280 --> 00:15:30,360 you can basically do the inverse modulus of, 277 00:15:31,140 --> 00:15:32,780 you can do an inverse modulus operation, 278 00:15:33,320 --> 00:15:34,840 which is crazy if you think about it. 279 00:15:35,180 --> 00:15:37,240 And the encryption does the normal modulus, 280 00:15:37,440 --> 00:15:39,360 and the decryption does the inverse modulus, 281 00:15:39,560 --> 00:15:40,860 and it makes it really hard to decrypt 282 00:15:40,860 --> 00:15:42,040 because the only way you can do it 283 00:15:42,040 --> 00:15:43,120 is by guessing P and Q, 284 00:15:43,620 --> 00:15:44,500 which also happens, 285 00:15:44,560 --> 00:15:44,680 uh, 286 00:15:44,700 --> 00:15:48,060 to be the Euler totem function of, 287 00:15:48,080 --> 00:15:48,680 uh, 288 00:15:49,760 --> 00:15:53,460 P minus one times, uh, Q minus one. 289 00:15:53,760 --> 00:15:54,640 All right, whatever. 290 00:15:54,900 --> 00:15:55,280 Uh, 291 00:15:56,160 --> 00:15:57,460 so that's RSA. 292 00:15:58,780 --> 00:15:59,520 What's this thing? 293 00:15:59,640 --> 00:16:00,840 That's, I don't want that. 294 00:16:01,460 --> 00:16:03,180 Uh, oh, go over this. 295 00:16:04,260 --> 00:16:05,240 What's it gonna talk about? 296 00:16:05,540 --> 00:16:07,600 Oh, what is quantum shit? 297 00:16:07,980 --> 00:16:10,680 Uh, all right, qubit. 298 00:16:10,860 --> 00:16:12,700 Uh, I went over that a little bit. 299 00:16:12,780 --> 00:16:14,680 It's just a quantum bit that's, 300 00:16:14,700 --> 00:16:16,020 what it's called, whatever, right? 301 00:16:17,040 --> 00:16:18,360 Uh, oh, superposition. 302 00:16:18,580 --> 00:16:18,960 Okay. 303 00:16:19,340 --> 00:16:21,340 With quantum bits, you can get, uh, 304 00:16:23,100 --> 00:16:25,920 it can be a one, a zero, or something in between. 305 00:16:26,120 --> 00:16:28,060 And the something in between is called superposition. 306 00:16:28,840 --> 00:16:30,560 And when something's in a superposition, 307 00:16:30,660 --> 00:16:31,600 it's got, like, a, 308 00:16:32,300 --> 00:16:35,020 let's say maybe a 75% chance of becoming a one, 309 00:16:35,020 --> 00:16:37,320 or, and a 25% chance of becoming a zero. 310 00:16:37,600 --> 00:16:38,640 That's called a superposition. 311 00:16:39,040 --> 00:16:39,560 And, uh, 312 00:16:40,820 --> 00:16:42,160 it has to do with, like, 313 00:16:42,760 --> 00:16:44,360 the way quantum mechanics works. 314 00:16:44,360 --> 00:16:45,240 Like I said, it's magic. 315 00:16:45,940 --> 00:16:46,820 Uh, you, 316 00:16:47,800 --> 00:16:49,140 well, I'll go to EPR State. 317 00:16:49,260 --> 00:16:51,280 EPR State stands for Einstein, Poldusky, Rosen. 318 00:16:51,360 --> 00:16:52,860 They're the guys who researched it. 319 00:16:53,260 --> 00:16:53,620 And, 320 00:16:54,580 --> 00:16:56,540 that also has to do with entanglement a little bit. 321 00:16:56,680 --> 00:16:58,040 You get two qubits together, 322 00:16:58,200 --> 00:17:00,900 and you use the Bell State Analyzer, 323 00:17:00,920 --> 00:17:01,620 and you check them out. 324 00:17:02,240 --> 00:17:02,600 And, 325 00:17:03,200 --> 00:17:04,180 they will, um, 326 00:17:04,860 --> 00:17:07,800 you can get them so they're both in a 50-50 superposition. 327 00:17:08,160 --> 00:17:10,960 So, it's got a 50% chance of becoming a one, 328 00:17:11,000 --> 00:17:12,480 and a 50% chance of becoming a zero. 329 00:17:13,400 --> 00:17:13,920 And, uh, 330 00:17:14,360 --> 00:17:15,240 that's called the EPR State. 331 00:17:15,360 --> 00:17:18,920 When everything's got equal chance of becoming whatever. 332 00:17:19,880 --> 00:17:21,520 Which leads us to decoherence, 333 00:17:21,580 --> 00:17:22,940 which is what becoming is. 334 00:17:23,780 --> 00:17:23,800 Uh, 335 00:17:25,480 --> 00:17:26,840 when something's in a superposition, 336 00:17:27,040 --> 00:17:27,480 it's, 337 00:17:27,480 --> 00:17:29,020 you can't read the data. 338 00:17:29,180 --> 00:17:30,380 The second you read the data, 339 00:17:30,500 --> 00:17:33,620 it will snap into one of the positions. 340 00:17:33,880 --> 00:17:34,580 One or zero. 341 00:17:34,840 --> 00:17:35,980 That's called decoherence. 342 00:17:36,520 --> 00:17:36,960 And, 343 00:17:37,600 --> 00:17:38,700 like, if you're in an EPR State, 344 00:17:39,360 --> 00:17:40,400 and you read the bit, 345 00:17:40,980 --> 00:17:44,340 uh, it will decoher to a 50% chance of being a one. 346 00:17:44,360 --> 00:17:45,700 And one, a 50% chance of being a zero. 347 00:17:46,920 --> 00:17:47,440 And, uh, 348 00:17:49,640 --> 00:17:50,900 using that EPR State, 349 00:17:51,120 --> 00:17:52,020 you can, uh, 350 00:17:53,060 --> 00:17:53,780 oh, also, 351 00:17:53,840 --> 00:17:54,720 with the EPR, 352 00:17:55,640 --> 00:17:57,140 I glossed over this again, but, 353 00:17:57,580 --> 00:18:01,560 uh, the entanglement between the two qubits that you have in EPR, 354 00:18:01,760 --> 00:18:03,900 uh, there's a control bit and the, 355 00:18:04,720 --> 00:18:06,160 whatever, not control bit. 356 00:18:06,640 --> 00:18:08,240 And, uh, when you read one, 357 00:18:08,340 --> 00:18:11,080 the other one will decoher to the exact same value. 358 00:18:12,460 --> 00:18:13,960 Uh, based on what that is. 359 00:18:14,360 --> 00:18:15,440 And that's what entanglement is. 360 00:18:15,620 --> 00:18:17,280 And, uh, it's pretty crazy like that. 361 00:18:17,360 --> 00:18:18,000 Like, let's say, 362 00:18:18,720 --> 00:18:19,520 I decohere, 363 00:18:20,940 --> 00:18:24,180 or I put two qubits in, uh, EPR State, 364 00:18:24,400 --> 00:18:27,720 and I give one to him over there somewhere. 365 00:18:27,960 --> 00:18:29,920 I give one to someone on the other side of the world. 366 00:18:30,320 --> 00:18:30,720 Uh, 367 00:18:32,140 --> 00:18:33,040 he reads his. 368 00:18:33,420 --> 00:18:35,720 The next time he reads his, it'll be the same value. 369 00:18:35,780 --> 00:18:36,540 It's like having, uh, 370 00:18:37,020 --> 00:18:38,580 it's like having two linked coins, 371 00:18:38,740 --> 00:18:39,780 and you flip it a bunch of times. 372 00:18:40,060 --> 00:18:41,680 As long as, you know, they're entangled. 373 00:18:41,860 --> 00:18:42,240 Uh, 374 00:18:43,660 --> 00:18:46,000 and you get a sequence of heads, tails, tails, heads, whatever. 375 00:18:46,240 --> 00:18:48,580 The other one will do the same random sequence. 376 00:18:49,480 --> 00:18:49,800 Um, 377 00:18:50,480 --> 00:18:51,300 oh, but anyways, 378 00:18:51,400 --> 00:18:52,800 with that you can create a controlled not gate, 379 00:18:53,360 --> 00:18:54,300 which is, you know, 380 00:18:54,320 --> 00:18:55,380 if you don't know what a controlled not gate, 381 00:18:55,480 --> 00:18:56,460 that's the way it maps. 382 00:18:56,780 --> 00:18:58,340 Uh, so you got your control bit, 383 00:18:58,440 --> 00:19:00,160 if it's on, it does a not to the second one. 384 00:19:00,380 --> 00:19:01,600 If it's not, it does nothing. 385 00:19:02,460 --> 00:19:03,660 And, uh, you can make 386 00:19:04,540 --> 00:19:07,040 every other type of gate that you need out of that. 387 00:19:08,680 --> 00:19:10,440 Yeah, uh, any questions on that? 388 00:19:10,980 --> 00:19:11,300 Anyone? 389 00:19:12,240 --> 00:19:12,520 All right. 390 00:19:12,540 --> 00:19:12,980 No, great. 391 00:19:13,080 --> 00:19:13,700 That's perfect. 392 00:19:16,200 --> 00:19:16,900 Okay, so. 393 00:19:17,220 --> 00:19:17,920 What's all this? 394 00:19:20,700 --> 00:19:21,260 What's up? 395 00:19:21,260 --> 00:19:21,440 Where? 396 00:19:21,560 --> 00:19:21,720 Who? 397 00:19:21,800 --> 00:19:22,420 Yeah, go. 398 00:19:22,600 --> 00:19:23,640 Shout loud, please. 399 00:19:29,940 --> 00:19:38,320 Uh, this question was, 400 00:19:38,540 --> 00:19:40,660 are they teleporting with entanglement? 401 00:19:40,660 --> 00:19:40,900 No. 402 00:19:41,420 --> 00:19:43,560 The way those teleportation things work 403 00:19:43,560 --> 00:19:45,340 is they transfer the information using qubits, 404 00:19:45,400 --> 00:19:47,580 and they've still got to transfer, uh, 405 00:19:48,260 --> 00:19:48,980 entangled photons, 406 00:19:49,180 --> 00:19:49,880 which, you know, 407 00:19:49,900 --> 00:19:50,980 it can only go a speed of light or whatever. 408 00:19:51,380 --> 00:19:53,800 And, uh, it's like a mapping of the information, 409 00:19:54,040 --> 00:19:55,260 and it rewrites it. 410 00:19:55,440 --> 00:19:55,780 Does that make? 411 00:19:57,220 --> 00:19:57,620 Right. 412 00:20:00,040 --> 00:20:00,440 Balls. 413 00:20:01,860 --> 00:20:02,260 What? 414 00:20:02,840 --> 00:20:03,620 Oh, he said. 415 00:20:04,180 --> 00:20:04,580 What? 416 00:20:05,060 --> 00:20:05,460 Why? 417 00:20:05,820 --> 00:20:06,620 Shut up. 418 00:20:08,420 --> 00:20:09,020 All right. 419 00:20:09,020 --> 00:20:09,040 All right. 420 00:20:10,100 --> 00:20:11,980 So, any other questions on that? 421 00:20:12,280 --> 00:20:12,680 What? 422 00:20:12,820 --> 00:20:12,980 Go. 423 00:20:13,240 --> 00:20:14,760 Head, red hat, person? 424 00:20:15,360 --> 00:20:17,360 What do you call it that's become entangled? 425 00:20:17,980 --> 00:20:19,780 Uh, there are a couple ways to do it. 426 00:20:20,060 --> 00:20:20,740 Man, I'm not. 427 00:20:20,920 --> 00:20:21,260 Okay. 428 00:20:21,320 --> 00:20:22,560 Well, there's a couple ways to do it. 429 00:20:22,640 --> 00:20:25,280 Uh, one way is you just read them with the Bell State Analyzer, 430 00:20:25,340 --> 00:20:27,380 and they entangle with each other. 431 00:20:27,640 --> 00:20:29,020 Bell State Analyzer? 432 00:20:29,200 --> 00:20:29,620 What's that? 433 00:20:30,560 --> 00:20:31,680 Something Bell made up. 434 00:20:35,580 --> 00:20:36,860 Does anyone have any? 435 00:20:37,580 --> 00:20:38,020 What's that? 436 00:20:38,020 --> 00:20:39,860 Is that important to your talk? 437 00:20:39,940 --> 00:20:40,860 No, it's not at all. 438 00:20:41,060 --> 00:20:41,320 Let's, uh. 439 00:20:41,520 --> 00:20:41,940 . 440 00:20:42,380 --> 00:20:44,680 Oh, he's got information about Bell State Analyzers. 441 00:20:44,980 --> 00:20:46,860 Actually, the, well, not the Bell State Analyzer. 442 00:20:46,860 --> 00:20:47,480 Oh, entanglement? 443 00:20:47,660 --> 00:20:49,480 Actually, not the qubits that become entangled, 444 00:20:49,580 --> 00:20:51,080 it's the photons that become entangled. 445 00:20:51,220 --> 00:20:51,580 Right. 446 00:20:51,620 --> 00:20:51,860 Whatever. 447 00:20:52,020 --> 00:20:52,540 Same deal. 448 00:20:53,540 --> 00:20:54,940 So, that's part of . 449 00:20:55,780 --> 00:20:58,880 Because, um, when the photons become entangled, 450 00:20:59,060 --> 00:20:59,900 that's when you . 451 00:21:01,880 --> 00:21:02,300 Right. 452 00:21:02,820 --> 00:21:03,240 . 453 00:21:06,200 --> 00:21:06,620 Right. 454 00:21:06,760 --> 00:21:07,480 No, you're right. 455 00:21:07,560 --> 00:21:08,000 But, um. 456 00:21:08,020 --> 00:21:09,540 But, it doesn't matter for what I'm saying. 457 00:21:10,440 --> 00:21:12,700 Uh, like, does anyone have any questions that aren't like, 458 00:21:12,720 --> 00:21:13,480 physics related? 459 00:21:13,720 --> 00:21:15,580 Like, this is, this is an algorithm speech. 460 00:21:16,420 --> 00:21:16,820 Okay. 461 00:21:17,540 --> 00:21:18,220 Alright, great. 462 00:21:18,360 --> 00:21:21,300 So, what this is used for now, getting to algorithms, 463 00:21:21,420 --> 00:21:21,960 which I kind of, 464 00:21:22,060 --> 00:21:22,420 . 465 00:21:22,420 --> 00:21:23,660 God, I glossed over. 466 00:21:24,200 --> 00:21:24,840 Is, um. 467 00:21:25,960 --> 00:21:26,120 . 468 00:21:27,340 --> 00:21:28,640 Remember I talked about RSA? 469 00:21:28,900 --> 00:21:31,360 And, uh, how factoring really big numbers. 470 00:21:31,520 --> 00:21:31,600 Oh. 471 00:21:32,300 --> 00:21:36,280 Does everyone understand that factoring the product of two really large prime numbers 472 00:21:36,280 --> 00:21:37,360 is a hard thing to do? 473 00:21:37,580 --> 00:21:37,980 Yes. 474 00:21:38,020 --> 00:21:38,520 . 475 00:21:39,440 --> 00:21:39,840 Okay. 476 00:21:39,940 --> 00:21:40,600 Just wanted to make sure. 477 00:21:41,320 --> 00:21:41,500 . 478 00:21:43,140 --> 00:21:43,540 Alright. 479 00:21:43,720 --> 00:21:44,520 Uh, Peter Shore. 480 00:21:44,740 --> 00:21:50,980 He made this fun little algorithm that, uh, will break RSA in two steps. 481 00:21:51,680 --> 00:21:52,080 Rawr. 482 00:21:53,020 --> 00:21:56,560 Uh, basically the way it works is, you, uh, . 483 00:21:57,700 --> 00:21:58,980 Oh, what end did I use? 484 00:21:59,960 --> 00:22:02,740 I had a demo example with all the math done out already. 485 00:22:04,460 --> 00:22:06,220 But, I don't have a calculator on me. 486 00:22:06,240 --> 00:22:06,760 Hold on a second. 487 00:22:07,080 --> 00:22:07,480 . 488 00:22:07,480 --> 00:22:08,000 . 489 00:22:08,600 --> 00:22:09,460 Keep them entertained. 490 00:22:09,780 --> 00:22:10,060 What? 491 00:22:10,260 --> 00:22:10,860 Keep them entertained. 492 00:22:11,820 --> 00:22:12,280 . 493 00:22:12,280 --> 00:22:12,660 Too bad, too. 494 00:22:12,780 --> 00:22:13,240 . 495 00:22:13,240 --> 00:22:13,740 . 496 00:22:13,740 --> 00:22:13,800 . 497 00:22:13,800 --> 00:22:13,900 . 498 00:22:13,900 --> 00:22:14,040 . 499 00:22:14,040 --> 00:22:14,320 . 500 00:22:14,320 --> 00:22:14,380 . 501 00:22:14,380 --> 00:22:14,740 . 502 00:22:14,740 --> 00:22:14,760 . 503 00:22:14,760 --> 00:22:14,820 . 504 00:22:15,900 --> 00:22:16,360 . 505 00:22:17,820 --> 00:22:18,280 . 506 00:22:18,280 --> 00:22:18,360 . 507 00:22:19,000 --> 00:22:19,460 . 508 00:22:29,880 --> 00:22:30,340 . 509 00:22:30,340 --> 00:22:30,900 . 510 00:22:30,900 --> 00:22:31,700 . 511 00:22:31,700 --> 00:22:44,580 in my mouth all right so anyways okay let's say our n is uh 15 right that's three times five 512 00:22:44,580 --> 00:22:50,520 they're both prime it's really easy to do simple for us right so uh the first part of the algorithm 513 00:22:50,520 --> 00:22:57,800 is you choose an a which is less than n so let's say a equals seven all right then we create a 514 00:23:04,520 --> 00:23:12,300 oh I might have glossed over this also uh with quantum computers uh anything that you do with 515 00:23:12,300 --> 00:23:22,940 one qubit uh it's like a massively parallel operation to everything else so basically you can 516 00:23:24,240 --> 00:23:30,840 let's say you've got two qubits or yeah two qubits entangled you can do 517 00:23:30,840 --> 00:23:31,680 four 518 00:23:31,700 --> 00:23:32,980 four operations at the same time. 519 00:23:33,680 --> 00:23:35,200 It's two to the number of bits you have. 520 00:23:35,740 --> 00:23:37,340 So anyways, you can, 521 00:23:37,380 --> 00:23:40,800 and a superposition can store that much data also, 522 00:23:40,940 --> 00:23:42,660 two to the number of qubits you have entangled. 523 00:23:43,140 --> 00:23:49,920 So two qubits entangled can store four, I guess, lines, 524 00:23:50,020 --> 00:23:51,160 or superpositions of information. 525 00:23:51,860 --> 00:23:56,220 So what you do is, first you load up everything, 526 00:23:57,840 --> 00:24:00,520 or the superposition with all the numbers 527 00:24:02,840 --> 00:24:04,160 all the way down, or whatever, right? 528 00:24:04,480 --> 00:24:06,540 And you apply this function to all of them, 529 00:24:07,380 --> 00:24:09,800 which will give you, well, 530 00:24:15,260 --> 00:24:16,880 in case you need that, whatever. 531 00:24:21,980 --> 00:24:22,420 That's wrong. 532 00:24:30,440 --> 00:24:31,320 That's the way the math works. 533 00:24:31,320 --> 00:24:32,080 All right? 534 00:24:32,140 --> 00:24:33,620 I did them ahead of time. 535 00:24:33,940 --> 00:24:38,040 And what you want to do is, then after you do that, 536 00:24:38,100 --> 00:24:40,560 you've got this whole sequence in the superposition, 537 00:24:40,760 --> 00:24:42,240 and you can do what's called 538 00:24:42,240 --> 00:24:43,760 a quantum fast Fourier transform, 539 00:24:44,060 --> 00:24:48,600 which will find the period of repeated sequences here, 540 00:24:49,300 --> 00:24:52,740 which happens to be four, right? 541 00:24:52,900 --> 00:24:54,700 So r equals four, which is the period. 542 00:24:55,660 --> 00:24:57,760 And there's actually an old number theory problem 543 00:24:57,760 --> 00:25:01,300 that that's based on, and the fact that we just solved it, 544 00:25:01,300 --> 00:25:03,680 we solved that in one step with a fast Fourier transform. 545 00:25:03,860 --> 00:25:05,140 It's like x-ray diffusion, sort of. 546 00:25:06,360 --> 00:25:10,240 What we can do then is take the greatest common divisor 547 00:25:10,240 --> 00:25:16,740 of n and a to the r minus two, plus or minus one, 548 00:25:18,120 --> 00:25:19,120 which will give us, 549 00:25:22,940 --> 00:25:27,700 we put a four in there, 50 for the plus, 48 for the not, 550 00:25:30,440 --> 00:25:33,640 which gives us five and three, 551 00:25:34,500 --> 00:25:37,440 which are the original theories, right? 552 00:25:37,660 --> 00:25:40,920 Yeah, so, and you can do that with really big numbers, 553 00:25:40,960 --> 00:25:41,580 and it doesn't matter. 554 00:25:41,880 --> 00:25:43,940 So as long as you've got enough qubits 555 00:25:43,940 --> 00:25:45,900 to support all that stuff. 556 00:25:46,040 --> 00:25:47,580 So we've still got to make really big quantum computers 557 00:25:47,580 --> 00:25:50,640 for that to work, but, you know, when we do, 558 00:25:51,660 --> 00:25:54,540 you've got RSA broken. 559 00:25:55,860 --> 00:25:59,900 And, so, did everyone see how that fucks with RSA? 560 00:26:01,460 --> 00:26:02,080 All right. 561 00:26:04,900 --> 00:26:06,660 Then, this other guy, Lev Grover, 562 00:26:07,420 --> 00:26:08,980 he made himself an algorithm, too. 563 00:26:10,900 --> 00:26:12,520 And his is for searching. 564 00:26:15,840 --> 00:26:17,920 And, okay, basically, he made a search algorithm 565 00:26:17,920 --> 00:26:21,400 that says, let's say you want to search sample space n. 566 00:26:23,000 --> 00:26:24,440 Normally, you've got to search everything. 567 00:26:24,440 --> 00:26:30,340 things, so your average case is going to be n over 2, right? You can do it in square root 568 00:26:30,340 --> 00:26:39,380 of n, which is still in the same complexity class, but hey, it's faster, right? Like, 569 00:26:39,380 --> 00:26:46,440 significantly faster. The way it works is, sort of do it up here. Let's say you've got 570 00:26:46,440 --> 00:26:59,720 yourself a, well, you've got a 2-qubit machine, and those are your n's, or whatever you've 571 00:26:59,720 --> 00:27:05,160 got in your supersessions, and it's a search algorithm, so you're searching for a specific 572 00:27:05,160 --> 00:27:14,800 item, and, right, so let's say we're searching for like 3, right? Or 2, whatever. Start with 573 00:27:14,800 --> 00:27:15,000 0. 574 00:27:18,360 --> 00:27:25,060 So, the way it works is, it works with probability amplitudes. Like I said, with, like, it's 575 00:27:25,060 --> 00:27:31,860 really easy to find it, anything, in a quantum computer, but if you try and read the data, 576 00:27:32,800 --> 00:27:37,920 it'll destroy everything that you found. So, it's like, the find's really easy to do, it's 577 00:27:37,920 --> 00:27:43,400 just getting the data back out, which is the hard part. So, find's easy to do, you 578 00:27:43,400 --> 00:27:44,620 found it, piece of cake, whatever. 579 00:27:45,460 --> 00:27:45,860 But, 580 00:27:46,440 --> 00:27:51,820 you still can't see it yet, so it uses what's called probability amplitudes. Like I said, 581 00:27:51,880 --> 00:27:58,360 right now, this has, each one of these in EPR has a one-first chance of becoming whatever, 582 00:27:58,920 --> 00:28:09,440 you know, one of those when it decommers. So, I'm going to, 0, 1, 2, 3. I'm going 583 00:28:09,440 --> 00:28:15,920 to sort of label them, make a little graph here. 0, 1, 2 is actually, 584 00:28:16,740 --> 00:28:21,660 1, 2, 3. They all start out like that. Then, you can do a, you can invert the phase of 585 00:28:21,660 --> 00:28:32,100 the found one, really easy. Almost easy. Boom. So, we inverted that, like that. That's an 586 00:28:32,100 --> 00:28:41,680 operation you can do pretty simply. Then, what's that? Where? Yeah, sure. Like I said, 587 00:28:41,760 --> 00:28:43,140 I did this when I was fucked up, so leave me alone. 588 00:28:47,320 --> 00:28:52,600 So, what was I saying? Oh, right. So, this is the found one. You do a, you invert the 589 00:28:52,600 --> 00:28:58,620 phase, and then you do what's called an inversion around the average. So, 1, 4th, 1, 4th, negative 590 00:28:58,620 --> 00:29:14,320 1, 4th, 1, 4th. I can just, what now? Fuck, I'm wrong. These go all the way here. 591 00:29:17,780 --> 00:29:29,400 Because EPR, it's 1, half per bit, whatever. So, you got 1, half, 1, half, 1, half, 1, 592 00:29:29,420 --> 00:29:36,600 half. And the average turns out to be 1, 4th, which is what I completely missed. So, the 593 00:29:36,600 --> 00:29:43,400 average is 1, 4th, right? So, you find the average, and then you flip around the average. 594 00:29:44,280 --> 00:29:45,780 So, like, hmm. 595 00:29:46,900 --> 00:29:49,900 How do, how do I put this? Like, this guy's here, right? 596 00:29:53,760 --> 00:29:58,980 What's that? Yeah. Yeah, exactly. I just want to make sure people can see this. 597 00:30:00,660 --> 00:30:07,120 Right. So, this one flips around to here. This one flips around to here. This one flips 598 00:30:07,120 --> 00:30:13,480 around to there. And this one flips around to there. And since we've only got a 4, or 599 00:30:13,480 --> 00:30:16,420 a 2-qubit machine, we only have to do this once, square root of 2, whatever, once, square 600 00:30:16,440 --> 00:30:22,800 root of 1, and now, our found one has a 100% chance of becoming our found data when we 601 00:30:23,260 --> 00:30:28,020 read it, and it decoheres. And everything else has a 0% chance. And, like, if we had 602 00:30:28,620 --> 00:30:33,420 more, like, a bigger system here, we would have to do this approximately square root 603 00:30:33,420 --> 00:30:38,200 of n times, those three steps, inverting around the average. But eventually, everything 604 00:30:38,200 --> 00:30:44,060 else would go to 0, and the one that you had would go to 1, and you're good to go. So, 605 00:30:46,480 --> 00:30:50,400 that's fine and great, like, for searching a phone book, you might think, but, like, 606 00:30:50,460 --> 00:30:55,400 you've still got to put all that data into those, into the superposition, which is going 607 00:30:55,400 --> 00:31:00,480 to take n steps. So, it might, you know, n square root of n, what's the point of that, 608 00:31:00,560 --> 00:31:06,040 right? But what this actually can be used for is, again, since we have massive parallelism 609 00:31:06,040 --> 00:31:14,040 of a quantum computer, we load up all the states with all of the numbers, 0 to 1, and 610 00:31:14,960 --> 00:31:24,240 then we do 2 to the 56, and then we run a DES decrypt on all of them, and, you know, 611 00:31:24,300 --> 00:31:31,240 it's one step, so it takes, it's the same as one decryption operation, and you've got 612 00:31:31,240 --> 00:31:36,480 everything on, you know, you've got every possible decryption, and then you do a search 613 00:31:36,480 --> 00:31:42,940 for the plaintext, and you filter it to the top, decrypt your state, and you've got the 614 00:31:42,940 --> 00:31:43,260 plaintext. 615 00:31:45,100 --> 00:31:53,240 So, yeah, basically, you can brute force anything in square root of n with this dealie 616 00:31:53,240 --> 00:31:57,400 here. Yeah, any questions on that? Sure. 617 00:31:59,800 --> 00:32:04,980 Is this a fairly familiar algorithm, because I heard you once ask that computing helps 618 00:32:06,420 --> 00:32:12,540 for symmetric algorithms, but it only helps by reducing it by one bit to work better? 619 00:32:14,060 --> 00:32:19,860 Not new. And Peter Shor's algorithm certainly speeds things up pretty quick. 620 00:32:20,820 --> 00:32:26,680 Oh, she's wondering if this is a new algorithm or not. Actually, recently, he revised it, 621 00:32:26,740 --> 00:32:32,520 so there's, it's faster now, I guess, or a little bit better. Does that answer your 622 00:32:32,520 --> 00:32:33,300 question good enough? 623 00:32:33,640 --> 00:32:37,920 So, it works. The metric algorithm can be broken into these, and we can make the metric 624 00:32:37,920 --> 00:32:39,160 algorithm work. 625 00:32:41,840 --> 00:32:43,920 Well, yeah, it's the same, yeah. 626 00:32:43,980 --> 00:32:44,040 Yeah. 627 00:32:45,020 --> 00:32:48,880 You've got that one step and then it's the search. So, you know, it doesn't matter. 628 00:32:49,560 --> 00:32:50,360 Uh, yeah. 629 00:32:51,460 --> 00:32:56,980 So, you're saying that this, this operation will, in one step, provide all of the, uh, 630 00:32:57,140 --> 00:33:02,820 all of the possible outcomes, uh, of that, of that key, and then you say you're gonna 631 00:33:02,820 --> 00:33:05,560 do a search for the plaintext, for the one that has the plaintext. 632 00:33:05,760 --> 00:33:05,940 Right. 633 00:33:06,260 --> 00:33:06,660 Now. 634 00:33:07,340 --> 00:33:11,460 Well, it's not this operation. Like, quantum computers can do that just by stringing 635 00:33:11,460 --> 00:33:12,420 together controlled NAT gates. 636 00:33:12,860 --> 00:33:13,260 Okay. 637 00:33:13,260 --> 00:33:14,040 But you're still learning how to do it. 638 00:33:14,560 --> 00:33:15,840 all these possibilities 639 00:33:15,840 --> 00:33:18,000 is still a very, very, very 640 00:33:18,000 --> 00:33:19,960 large number of different possibilities. 641 00:33:20,420 --> 00:33:20,700 Right. 642 00:33:20,860 --> 00:33:22,880 You're still having to search through all of those 643 00:33:22,880 --> 00:33:23,720 for the plain text. 644 00:33:24,040 --> 00:33:27,200 So I fail to see how this really is helping too much 645 00:33:27,200 --> 00:33:29,080 because you're still having this basically 646 00:33:29,080 --> 00:33:31,800 brute force of search on the plain text. 647 00:33:32,200 --> 00:33:33,280 Right, it's still a brute force, 648 00:33:33,380 --> 00:33:35,240 but instead of a brute force of n, 649 00:33:35,440 --> 00:33:37,480 it's a brute force square root of n. 650 00:33:37,620 --> 00:33:38,580 What's a bigger number? 651 00:33:38,720 --> 00:33:40,860 2 to the 56th or 2 to the 28th? 652 00:33:42,700 --> 00:33:43,180 Yeah. 653 00:33:44,060 --> 00:33:47,380 The thing is that it does all of the stuff 654 00:33:47,380 --> 00:33:48,380 that you can notice that. 655 00:33:48,620 --> 00:33:49,020 Right. 656 00:33:49,120 --> 00:33:50,400 Because it's not equal here. 657 00:33:51,720 --> 00:33:52,940 Oh, is that what you were asking? 658 00:33:54,300 --> 00:33:54,700 Yeah. 659 00:33:55,160 --> 00:33:55,680 Oh, right. 660 00:33:55,880 --> 00:33:57,100 No, okay, I see what you're saying. 661 00:33:57,220 --> 00:33:57,620 Exactly. 662 00:33:58,440 --> 00:33:58,840 Exactly. 663 00:33:58,840 --> 00:33:58,940 No. 664 00:34:03,280 --> 00:34:04,660 When it does its stuff, 665 00:34:05,660 --> 00:34:06,600 it's magic, right? 666 00:34:06,700 --> 00:34:07,460 When it does its stuff, 667 00:34:07,860 --> 00:34:11,360 it does it to every single thing at the same time. 668 00:34:11,940 --> 00:34:13,460 Every single item in the superposition. 669 00:34:13,560 --> 00:34:13,880 Exactly. 670 00:34:14,060 --> 00:34:14,420 Same time. 671 00:34:15,180 --> 00:34:16,300 It's massively parallel. 672 00:34:18,740 --> 00:34:19,940 So, you can have it, 673 00:34:21,200 --> 00:34:23,200 let's say it was something that normally takes 674 00:34:23,200 --> 00:34:24,980 like five minutes to do, right? 675 00:34:26,180 --> 00:34:28,040 And you're going to do it on a thousand things. 676 00:34:28,500 --> 00:34:29,740 It takes five minutes to do. 677 00:34:30,660 --> 00:34:31,020 Okay? 678 00:34:31,240 --> 00:34:32,580 If you're going to do it on a million things, 679 00:34:32,660 --> 00:34:33,460 it takes five minutes to do. 680 00:34:34,260 --> 00:34:35,880 It's the search that takes the time. 681 00:34:36,540 --> 00:34:36,900 Okay. 682 00:34:38,520 --> 00:34:38,880 Yeah. 683 00:34:39,060 --> 00:34:40,680 We talked a lot about how quantum computers 684 00:34:40,680 --> 00:34:42,400 can help break encryption very quickly. 685 00:34:42,740 --> 00:34:43,480 And I know, 686 00:34:44,060 --> 00:34:45,980 and I know you've heard of it for a several times. 687 00:34:46,240 --> 00:34:47,600 And I think it's probably one of your top 688 00:34:48,600 --> 00:34:50,540 the only example I've seen of that is 689 00:34:50,540 --> 00:34:52,100 you didn't talk about the number of states 690 00:34:52,100 --> 00:34:54,060 that this is made and the whole thing collapses. 691 00:34:54,240 --> 00:34:55,320 Yeah, that's coming up. 692 00:34:55,800 --> 00:34:56,260 Oh, that's good. 693 00:34:56,280 --> 00:34:57,620 Do you want me to go over there? 694 00:34:57,740 --> 00:34:58,440 Well, I was going to talk about 695 00:34:58,440 --> 00:34:59,140 I'll go to that. 696 00:34:59,280 --> 00:35:00,180 You want me to go to that? 697 00:35:00,320 --> 00:35:01,060 I'll go right now. 698 00:35:01,240 --> 00:35:01,640 Just one second. 699 00:35:01,640 --> 00:35:01,860 Okay. 700 00:35:02,700 --> 00:35:03,780 You have a voice communication. 701 00:35:04,060 --> 00:35:05,380 If anyone tries to wiretaps it. 702 00:35:05,500 --> 00:35:05,860 Right. 703 00:35:06,180 --> 00:35:08,060 Is there anything like a storage type encryption 704 00:35:08,060 --> 00:35:08,800 for your phone? 705 00:35:09,160 --> 00:35:13,640 Well, just quantum computers are very delicate. 706 00:35:13,640 --> 00:35:14,840 They're very delicate babies. 707 00:35:16,020 --> 00:35:19,440 And you don't want to be storing anything on them, really. 708 00:35:19,840 --> 00:35:22,660 Like, they've got to put them in crazy underground places 709 00:35:22,660 --> 00:35:25,540 and away from electromagnetic radiation. 710 00:35:25,800 --> 00:35:28,580 Like, little disturbances will completely destroy them. 711 00:35:28,680 --> 00:35:30,200 Like, that's the way they do this stuff. 712 00:35:30,280 --> 00:35:32,240 The way they send something to an EPR state 713 00:35:32,240 --> 00:35:33,420 is they just shoot it with a little bit 714 00:35:33,420 --> 00:35:35,280 of electromagnetic radiation. 715 00:35:35,340 --> 00:35:38,680 And anything on the outside will completely fuck it up. 716 00:35:39,740 --> 00:35:40,440 It's 10-2. 717 00:35:40,500 --> 00:35:41,200 It's 10-2. 718 00:35:41,360 --> 00:35:41,680 Oh. 719 00:35:43,880 --> 00:35:47,220 I'm going to go over this really quick, unless. 720 00:35:47,400 --> 00:35:49,340 Do you want me to go over quantum encryption? 721 00:35:50,020 --> 00:35:51,060 Or, okay. 722 00:35:52,540 --> 00:35:53,100 Okay. 723 00:35:54,980 --> 00:35:57,160 This is a BB-84. 724 00:35:58,060 --> 00:36:01,180 It's made in 1984 by Charles Bennett of IBM and Giles 725 00:36:01,760 --> 00:36:03,700 Brasser of the University of Montreal. 726 00:36:05,240 --> 00:36:10,420 And, all right, I'm going to, oh, I almost fucked up. 727 00:36:12,300 --> 00:36:13,080 These are. 728 00:36:13,240 --> 00:36:13,600 Oh. 729 00:36:14,760 --> 00:36:16,420 This is Alice, and this is Bob. 730 00:36:16,640 --> 00:36:16,900 All right? 731 00:36:17,420 --> 00:36:24,820 And, so, Alice creates a random string of data first. 732 00:36:25,140 --> 00:36:27,260 Someone start sharing out 1's or 0's. 733 00:36:34,220 --> 00:36:35,200 I heard a lot. 734 00:36:36,560 --> 00:36:37,440 Oh, damn. 735 00:36:37,640 --> 00:36:41,500 Okay, so, Alice creates a random string of bits, right? 736 00:36:41,840 --> 00:36:42,580 And then. 737 00:36:43,060 --> 00:36:43,620 Oh. 738 00:36:45,700 --> 00:36:51,260 Alright, she's creating these in photons, and photons can be polarized. 739 00:36:52,920 --> 00:36:56,980 These are the polarizations right here. 740 00:36:57,160 --> 00:37:03,320 That's the up and down polarization and the slashy polarization, and this one and that one. 741 00:37:03,520 --> 00:37:06,860 And the ones can be one of those, and the zeros will be one of those, right? 742 00:37:07,960 --> 00:37:10,420 So she knows what the polarizations are, too. 743 00:37:11,040 --> 00:37:15,900 So let's just make these at random also, but make them match up. 744 00:37:23,740 --> 00:37:28,920 All right, so she knows the polarizations, and she sends these out over the, you know, 745 00:37:29,020 --> 00:37:33,820 the quantum communication channel, like a fiber optic or whatever, and Bob receives them. 746 00:37:33,960 --> 00:37:35,700 And Bob, he's got these two filters. 747 00:37:35,940 --> 00:37:38,680 One looks like a plus, and one looks like a multiplication symbol. 748 00:37:39,000 --> 00:37:40,300 And the plus. 749 00:37:40,420 --> 00:37:47,200 The plus lets through the vertical, horizontal ones, and the other one lets through the diagonal ones. 750 00:37:48,720 --> 00:37:56,420 So he creates a bunch of random, he randomly picks these things, a bunch of filters. 751 00:38:00,920 --> 00:38:05,420 All right, and the ones that work out great, they work out great. 752 00:38:05,500 --> 00:38:08,740 The ones that don't, you get some random thing, like maybe a zero. 753 00:38:08,840 --> 00:38:10,280 I'll mark it with a little red thing. 754 00:38:10,780 --> 00:38:11,560 Maybe you get a one. 755 00:38:12,680 --> 00:38:13,880 Oh, who's calling me? 756 00:38:15,760 --> 00:38:16,740 Let's say you get a zero there. 757 00:38:19,080 --> 00:38:19,800 Hold on a second. 758 00:38:29,920 --> 00:38:33,240 Okay, so let me finish this up. 759 00:38:37,420 --> 00:38:38,620 Do you guys see what I'm doing here? 760 00:38:40,000 --> 00:38:41,920 Uh, oh. 761 00:38:46,780 --> 00:38:48,160 This one's so wrong. 762 00:38:48,480 --> 00:38:49,180 All right. 763 00:38:49,420 --> 00:38:53,720 So I marked the little ones with the little thing in the corner, the ones that are wrong, 764 00:38:53,860 --> 00:38:55,160 but Bob doesn't know that yet. 765 00:38:56,540 --> 00:39:04,800 So then what Bob sends back is, Bob sends back the sequence of filters that he used. 766 00:39:05,280 --> 00:39:07,460 Or analyzers, is what they're called technically. 767 00:39:07,920 --> 00:39:09,960 And Alice uses these. 768 00:39:09,960 --> 00:39:16,500 And compares them with her set of polarizations that she used, and then she tells them which 769 00:39:16,500 --> 00:39:16,960 ones are right. 770 00:39:17,660 --> 00:39:20,900 So he knows that this is good, this is good. 771 00:39:21,000 --> 00:39:21,340 All right. 772 00:39:21,640 --> 00:39:22,640 Tells them which ones are bad. 773 00:39:22,720 --> 00:39:23,000 How's that? 774 00:39:24,640 --> 00:39:25,960 So they know the bad ones, right? 775 00:39:27,780 --> 00:39:30,320 And uh, okay. 776 00:39:30,700 --> 00:39:36,920 So then what they do is they use this sequence, the remaining bits, as their key. 777 00:39:39,680 --> 00:39:47,940 So, and if someone's trying to eavesdrop, all right, Alice creates all these bits with 778 00:39:47,940 --> 00:39:48,940 the random polarizations. 779 00:39:49,140 --> 00:39:54,700 If someone's trying to eavesdrop, first off, by reading the decoherence will destroy the 780 00:39:54,700 --> 00:39:54,940 data. 781 00:39:55,160 --> 00:39:59,360 But even if somehow they manage to figure that out or whatever, they've still got to 782 00:39:59,360 --> 00:40:03,940 use some random filters or analyzers to read the polarizations. 783 00:40:04,040 --> 00:40:05,600 And if they get the wrong ones, they're screwed. 784 00:40:05,940 --> 00:40:06,900 And then, you know, it's not a good idea. 785 00:40:06,900 --> 00:40:13,960 Bob sends back the analyzers, and it's really hard for Eve, or the eavesdropper, to figure 786 00:40:13,960 --> 00:40:14,540 out what's going on. 787 00:40:14,880 --> 00:40:17,840 I kind of glossed over that, but trust me, it works out that way. 788 00:40:18,100 --> 00:40:21,800 And if you use a one-time pad, does everyone know what a one-time pad is? 789 00:40:23,000 --> 00:40:24,220 Does everyone know they're unbreakable? 790 00:40:27,540 --> 00:40:28,940 Well, you're right, it's totally random. 791 00:40:29,040 --> 00:40:31,560 Like if it's a real one-time pad, it's totally unbreakable, right? 792 00:40:32,580 --> 00:40:35,400 Well, if you can figure out how to do that. 793 00:40:35,400 --> 00:40:43,620 And, like, nothing gets more random than superpositions, then boom, one-time pad, great. 794 00:40:45,780 --> 00:40:46,260 Yeah. 795 00:40:46,380 --> 00:40:46,760 Okay. 796 00:40:46,820 --> 00:40:54,180 So, any other questions, or do you want to hear more about, I completely skipped over 797 00:40:54,180 --> 00:40:55,000 complexity theory. 798 00:40:56,280 --> 00:40:57,160 Any questions? 799 00:40:57,660 --> 00:40:58,400 Someone there? 800 00:40:58,840 --> 00:41:03,600 So, the problem is that it's built in a patch, so it should be anywhere. 801 00:41:03,840 --> 00:41:04,260 Yeah. 802 00:41:04,280 --> 00:41:04,700 Yeah. 803 00:41:04,700 --> 00:41:04,880 Yeah. 804 00:41:04,880 --> 00:41:04,900 Yeah. 805 00:41:05,780 --> 00:41:06,140 Yeah. 806 00:41:06,140 --> 00:41:07,520 Oh, yeah, the eavesdropper can get that, sure. 807 00:41:07,600 --> 00:41:11,260 Everything that's sent through, you assume that E is always in the middle and can figure 808 00:41:11,260 --> 00:41:16,760 out everything, but even if she gets all of the analyzers that were used, it doesn't 809 00:41:16,760 --> 00:41:20,020 matter because it's after the fact, and she's already analyzed her stuff. 810 00:41:21,300 --> 00:41:23,860 So, she's got, you see what I'm saying? 811 00:41:26,660 --> 00:41:33,400 Like, it's a one-time operation, the analyzing of things, so there's no way to...even if 812 00:41:33,400 --> 00:41:35,380 you've got that information, it's too easy to get. 813 00:41:35,400 --> 00:41:54,640 late. Any other questions? I could understand three words you said. It was filter, results, 814 00:41:54,640 --> 00:42:16,480 results, and bad. Right. But the important thing is you can't use them again, because 815 00:42:16,480 --> 00:42:20,620 it's already been read. Okay. Anyone else have questions? 816 00:42:22,100 --> 00:42:23,640 How long has it been since you were here? 817 00:42:25,440 --> 00:42:31,100 Well, last I heard, they had a seven-qubit machine somewhere. I don't know where. Someplace 818 00:42:31,100 --> 00:42:35,680 in California in a fault line or something. I don't know. I don't know how it works. 819 00:42:39,240 --> 00:42:39,560 What's that? 820 00:42:40,860 --> 00:42:46,820 Well, all right. I got five minutes. All right. Any other questions? Anyone? Someone there? 821 00:42:46,940 --> 00:42:47,420 Who's on the line? 822 00:42:49,240 --> 00:42:49,560 Oh. 823 00:42:51,080 --> 00:42:53,740 No, you guys can both talk at the same time. Steel cage match? 824 00:42:54,640 --> 00:42:56,160 I'll arrange it. Okay. What's up? 825 00:43:00,720 --> 00:43:01,080 Yeah. 826 00:43:06,100 --> 00:43:06,820 Yeah. What? 827 00:43:10,100 --> 00:43:10,980 That works for what? 828 00:43:18,460 --> 00:43:24,440 Well, no, not. No. One-way hashes? 829 00:43:25,140 --> 00:43:29,700 If you do a one-way hash, there's no way you're getting your stuff back, besides brute 830 00:43:29,700 --> 00:43:30,260 forcing it. 831 00:43:36,800 --> 00:43:41,100 No. That's why it's a one-way hash. It's more than a clever name. 832 00:43:45,900 --> 00:43:51,600 Well, RSA can, because it's based on anything that's based on factoring the product of two 833 00:43:51,600 --> 00:43:52,140 prime numbers. 834 00:43:53,840 --> 00:43:54,300 What's that? 835 00:43:56,520 --> 00:44:00,440 Yeah, but then that has to do with quadratic fields. What's up? 836 00:44:04,080 --> 00:44:04,520 Yeah. 837 00:44:09,460 --> 00:44:15,380 Well, it doesn't matter, because anything, anything can be brute forced with Love-Grover's 838 00:44:15,380 --> 00:44:17,580 algorithm, just searching for the plane text. So. 839 00:44:20,480 --> 00:44:20,920 Yeah. 840 00:44:21,160 --> 00:44:21,600 Yeah. 841 00:44:23,200 --> 00:44:24,460 That's not as fast. No. 842 00:44:24,640 --> 00:44:25,260 But still, it's... 843 00:44:29,920 --> 00:44:30,280 What's up? 844 00:44:34,640 --> 00:44:40,740 Right, right, right. Yeah, I know. It's the same complexity, but still, it's a lot faster. 845 00:44:44,480 --> 00:44:44,880 What's up? 846 00:44:47,140 --> 00:44:50,140 Yeah. It's still quantum computing. You're still using a quantum computer. 847 00:44:51,920 --> 00:44:52,460 All right. 848 00:44:52,560 --> 00:44:53,020 All right. 849 00:44:53,800 --> 00:44:54,480 Anyone else? 850 00:44:54,640 --> 00:44:55,500 Anyone want to say anything, or... 851 00:44:56,720 --> 00:44:57,480 All right, great. 852 00:44:57,740 --> 00:44:58,420 Thank you.