Pod Insights a16z Podcast a16z Podcast | Crypto, Security, CS, Quantum Computing, and More with Our New Professor-in-Residence About this episode Many of the most successful companies have their foundations in university labs -- from data science to the web browser itself. Yet the process of moving from research project to successful startup isn't always straightforward. With the goal of smoothing this process and continuing to bridge entrepreneurs across academia and industry, we began the a16z Professor-in-Residence program just last year. And this year's newly anointed Andreessen Horowitz Distinguished Visiting Professor of Computer Science is Dan Boneh, Professor of Computer Science and Electrical Engineering at Stanford University as well as Co-director of the Stanford Computer Security Lab.
In this episode of the a16z Podcast, we sit down with Boneh to chat about applied vs. theoretical math and computer science; what's missing and what's next with "usable" security (including various authentication approaches); and current and future trends in cryptography, bitcoin, and more. Boneh also shares his thoughts on MOOCs (massive open online courses) as the "21st century version of the textbook". Oh, and on when quantum computing will finally happen... and why we should (and shouldn't!) freak out about it. Yet.
Transcript 10,159 words · 3 speakers
0:00 Speaker 1 Hi everyone, welcome to the A6 and Z podcast. I'm Sonal, and Michael and I today are interviewing Dan Bonnet, who is our new professor and residence at Andrews and Horowitz. And for those of you who don't know about this, for the first time ever, we um had a professor in revivance residence last year, and it was a new initiative for us as a way of uh bridging ties between academia, industry, startups, because the reality is that some of the best and most interesting ideas are coming out of and the long-term thinking ideas are coming out of universities. Welcome, Dan.
0:33 Speaker 2 Thanks.
0:34 Speaker 0 It's a pleasure to be here.
0:35 Speaker 2 You're our our second professor in residence, but what are you a professor of?
0:39 Speaker 0 Yeah, so I'm a professor of computer science at uh Stanford University. My area of research is computer security and cryptography. I've been at Stanford now for uh 18 years. Uh I teach mostly computer security and cryptography classes, and um it's a fantastic area to to be working in. There's lots of interest in this from industry now, from obviously in the um even in the policy circles, it was it's hard to believe. But uh even the president came, President Obama came to campus a few months ago, and he was talking about computer security. Uh I couldn't believe it, but the president was talking about uh things like malware and key keyboard loggers.
1:16 Speaker 1 You say you couldn't believe that. Is that because the political environment has changed for obvious reasons with the Snowden revelations and everything that came down after that, or is that just unusual for other reasons?
1:25 Speaker 0 I think uh Snowden might be actually a small part of it. I think the bigger issue is that more and more of our lives are going online, and as more of our data is available on computers, it's obviously obviously also available to be to be hacked and stolen. And so computer security has kind of become part of our daily lives these days. Every time there's a breach, people lose a lot of personal information. And so the public focus and pub public interest in computer security has just exploded uh over the last couple of years. And the prediction is that it's only gonna get even uh more interesting and you know it's gonna get worse before it gets better.
1:56 Speaker 1 What why will it get more interesting? Is it because of the the the devices and computing moving into everything or other Yeah,
2:01 Speaker 0 the more we we are more and more reliant on computers? There are more and more devices that we all um uh possess and own. Uh we're moving into this environment where uh you know we're Internet of Things, where we're gonna be covered with sensors that measure all sorts of uh information about us, and all that information is being sent to the cloud, as long as that inf the more information about us is being collected in a central location, the more likely or potentially um bigger targets that inform that uh that that repository becomes. And again, every time there's a data breach, more and more information is being revealed and the public really pays attention. So the the that you know that has real impact on on uh the public's perception and the public's privacy. And so there's just a lot of tremendous amount of interest in computer security and it's gonna grow over time.
2:46 Speaker 0 Aaron Powell You speak
2:48 Speaker 2 of the impact on the public, but how what's the impact been on your kind of wheelhouse there at the university, you know, both in terms of you know you mentioned the president coming to visit, but companies who's coming, who's knocking on your door now, both in terms of like, you know, outside Stanford, but also you know, the students and kind of their areas of interest. Like how how is that shifting as again this becomes more and more important?
3:12 Speaker 0 Um so first of all, the major the computer science major at Stanford is is exploding in the sense that we are we are now the largest major on campus. Um and it's continuing to grow. It's kind of interesting that we're even the largest uh either largest or second largest major for women on campus. So if you literally count number of women, computer science is now uh either the the largest or the second largest on campus. Aaron Powell
3:36 Speaker 1 Are people also doing other majors in addition to computer science? Like is it sort of becoming where computer science is like the new like English where everyone does English and something else or is it is it like that?
3:46 Speaker 0 They're computer science majors, so they're primarily uh doing computer science, but we did just start a new a new effort called Computer Science Plus X. So computer science is kind of slowly taking over the world, right? I mean, software is everywhere these days. You can't do English without software, you can't do music without software, you can't do literature, everything is involving software these days. So our computer science is kind of um uh expanding. And so we just launched this new effort called Computer Science Plus X, C S plus X, where students can be computer science majors, but they can they would also major in another discipline. So one of my undergrad students, for example, it does computer science plus Slavic studies. Um just to show you that it's kind of uh uh an interaction of computer science with lots and lots of different areas around campus.
4:27 Speaker 2 Interesting. So linguistics, it could be biology, it could be just anything really. Absolutely.
4:32 Speaker 0 Absolutely. So computer science plus uh uh um you know things in the in the uh basically almost anything in the humanities. Right. So
4:40 Speaker 1 what are some of the other um shifts that you've seen besides that?
4:44 Speaker 0 Yeah, so within computer science, I can say that uh computer security is definitely something that a lot of students are are fascinated and interested by. And just to give one example, my our computer security class, the one that I teach is an elective class, and it's also been growing tremendously. Just this last last uh time I taught it, it had had over 300 students. So it's a lot of fun. These are brilliant students, really smart, and they're a lot of fun to teach. Um and so you can imagine that that uh you know being having an elective class that that's big uh is kind of really showing where the the level of interest that students have in the topic. Aaron Powell
5:18 Speaker 2 You are described as an applied cryptographer. Where does the applied come as opposed to not applying it to anything or just the theory of cryptography cryptography?
5:26 Speaker 0 Yeah, so I work on computer security and cryptography, and cryptography is actually the science of encryption, basically. How do we communicate securely with one another? Um and there it's a very, very broad area. There are parts of cryptography that are being deployed and used every day. Every time you connect to Google, you're using cryptography to set up a connect a secure connection, an encrypted connection between you and Google. So there's there are parts of cryptography that are extremely applied and used by billions of people every day. If they if only they knew they were using actually fairly uh sophisticated math in setting up those secure connections. It's actually quite fascinating to me that areas of mathematics that have been completely pure and study only for intellectual curiosity are now being used by billions of people every day to set up secure connections across the internet.
6:15 Speaker 0 So that would be more the applied part of crypto. Cryptography also has a theoretical side of it, which start which asks like basic questions like uh what are the minimal set of assumptions we need to have in order to set up a secure channel between the two of us? And typically those those kind of if you want to minimize the set of uh the set of assumptions that you use, you might not end up with the most efficient systems that are possible. And so those are those are more proofs of concept. They're not directly deployed. Um and so as I said, it's a it's a a very, very broad area uh of research spanning all the way from applications to mathematics to theory to algorithms to complexity theory uh and so on. So it's it's it's really quite a um uh a broad space and as I say it's a fascinating area to live to work in. It's one of the few areas I have to say where you can do deep mathematics and at the same time we will be it would be extremely applied and deployed and used by billions of people all over the world.
7:09 Speaker 0 Aaron Powell
7:10 Speaker 1 So the applied private. Well, I think we'd like to pick on that thread a little bit more because um the fact that you're a professor in residence is interesting in that context because it's sort of the intersection of like Ivory Tower. I mean, not that anyone would probably call Stanford Ivory Tower, because it's always had this history of people coming in out of the university, but it is sort of this intersection of university, industry, you know, business, government funding, all of that stuff. Like how do you see the role that you play in that in Stanford as well? Like where does that sort of all play out? Aaron Ross Powell
7:39 Speaker 0 So the students of Stanford have always been extremely entrepreneurial. Um it's it it happens a lot that uh they come and do research projects with us and then those research project projects turn into companies. It's happened to me twice in the past already.
7:55 Speaker 1 Oh wow, really? Uh
7:56 Speaker 0 indeed.
7:57 Speaker 1 How can you tell, by the way, if it's at a research project stage? Like what can you tell like what makes it a promising potential company by by looking at a research project? Are there things that you look for or you notice like, wow, that's gonna be really interesting in the future. Well,
8:08 Speaker 0 I have to say that a lot of it comes from experience. But but you know, the rule of thumb is if it solves a problem that the world really wants to solve and no one has solved so far, it's probably a research project project that's gonna turn into a company.
8:20 Speaker 1 Right. Are there skills that you think that the students who have really neat research project ideas that could make promising startups don't have? And I don't mean that in a negative way, but it's more like what are the missing pieces there. So for example, like design. So much of you know cryptography touching our lives or any aspect of security touching our lives is about the usability of it. Because there's a lot of things we simply don't do because they're hard to do.
8:43 Speaker 0 Yeah, I think that's uh that's a really important point that uh that is very often ignored. That uh you could have the best technology, but if it's not wrapped in a nice user interface that people have fun and and you know they're comfortable using, it's never gonna get deployed. It's never it's never gonna work.
8:58 Speaker 1 I mean, let's talk about second factor authentication.
9:00 Speaker 0 Yeah, so uh second factor authentication is an area that's close to my heart. So today, traditionally when we authenticate to websites, uh we typically just use passwords. And as we all know, passwords are uh incredibly insecure. A, we cho where we we generally we choose uh humans generally choose relatively weak passwords that are not that difficult to guess. And B, it's actually not that hard to extract someone's password uh using uh attacks called phishing attacks. Someone can easily fool you into typing in your password where you're not supposed to, and in doing that, they will have extracted the password from you. Aaron Powell
9:30 Speaker 1 Well, it's actually gotten even more sophisticated, right? Because we've talked about spear phishing where people actually figure out who you are almost like based on your social network profiles and then actually cloak and attack, kind of using the words as if you're someone you know.
9:43 Speaker 0 Absolutely.
9:44 Speaker 1 Without any misspellings, because that's how you used to tell if it's a national fishing attack.
9:47 Speaker 0 Absolutely. Fishing attacks actually will we'll go ahead and and kind of uh draw a wide net and and recover passwords from lots of random people. If you want to target a particular individual that you want to extract their password, you would use what's called a spear phishing attack where you actually gather. Information around them. And typically you would just send them an email saying, you know, here's a video of you, and the email is coming from your best friend. You know, most people will click and um fairly fairly frequently they'll end up revealing their password. So passwords by themselves we know are quite problematic as uh as um the only token for authentication. And so what's when proposed is basically to use what's called second factor authentication. Typically the way second factor authentication is implemented today is using a smartphone. The smartphone is the second factor.
10:34 Speaker 0 So the smartphone will either present a six digit pin that the user types in. Some companies will text a message and that will be typed in. Um more recent startups actually are working on things like um where you just press a button and on your phone, and in doing that you confirm a login. All those are wonderful second factor uh mechanisms. So I'm a big fan of actually um making those more usable. Unfortunately, today uh all second factor authentication schemes are essentially based on well, the smartphone. And what happens if you only interact with a website through your smartphone, right? So in fact, we're hearing more and more of people that um the only way they interact with specific websites, say with their bank or whether uh with their e-commerce site is specifically on their phone. Well, in that point, the phone is not exactly a second factor. It's basically, well, it's almost like just another device.
11:21 Speaker 0 Yeah, it's the same
11:23 Speaker 1 it's the same. Well, so actually this it's a both the host device and the device you're inputting on and the device that you're computing on and everything.
11:30 Speaker 0 That's that that's one problem. The other problem is uh often, you know, I want to log in and maybe my phone is not next to me, right? So maybe I maybe I left my phone in one place in one room and I'm trying to log in from another room. The direction we'd like to go at to move to is where the second factor is something that's always on the on the human body. So one of the beautiful applications for smart watches is exactly a second factor, right? My smartwatch, my watch actually is always on me. If that could be used as a second factor, then that's a lot easier to use, and you're not gonna forget forget that at home.
12:01 Speaker 1 Well, I could use my ringly then for second factor factory. Right. I mean,
12:03 Speaker 2 you could use it, presumably anything that you carry with you all the time. Aaron Powell
12:06 Speaker 0 What I see missing, for example, is I would love to have a second factor built into my glasses. Right. Yeah. I mean, I wear glasses, my glasses are on me all the time. In fact, I can't even use my computer without my glasses. I I
12:16 Speaker 2 I wear glasses too, and um uh that would work perfectly for me. Because there are times where I don't wear a watch. There are times where you leave your phone, but you're always hiring. I wouldn't be able to do anything without those. So why
12:26 Speaker 1 why are we still embodying the second factor in objects? Like why then not biometric authentication? Like why wouldn't that be
12:32 Speaker 2 the thing or the third factor in that context?
12:34 Speaker 0 Okay, so that that's a really really good question. So when you say biometric, you mean something like a fingerprint. Like a
12:38 Speaker 1 fingerprint, exactly.
12:39 Speaker 0 So we we've actually learned that fingerprints are not a very good way to authenticate people for for a number of reasons. First of all, they're not very secret. Every time you hold a glass of water, you're basically leaving your fingerprint on that couple of water. I
12:51 Speaker 1 think I've seen like 10 movies where there's a scene where someone steals like the fingerprints off someone base off the glass of water at a bar.
12:57 Speaker 0 Well, you don't just have to go to Hollywood, actually. There are people who who are
13:00 Speaker 1 in real life. Yeah,
13:01 Speaker 0 there are YouTube videos that will teach you how within five minutes you can take a glass of water, pick a fingerprint off of it, and then use that to unlock the iPhone, for example.
13:09 Speaker 1 I actually didn't realize it was that ubiquitous. So it's
13:11 Speaker 0 actually it's actually fairly fairly easy to do. That's problem number one. Problem number two is that uh if your fingerprint, if you suspect that your fingerprint has been somehow compromised, there's no way for you to revoke your fingerprint. Maybe you can revoke it 10 times because you have 10 fingers. But once you're done with your 10 fingers, you know, you just nothing, no other option for you. I guess you can go to 20 times if you use your toes. But um uh generally there's only a limited number of times you can revoke your fingerprint. Whereas a password or a second factor in the traditional sense, you can revoke as many times as you want. If you suspect that someone stole your password, you just change your password.
13:43 Speaker 2 If we all know, and by we I mean that both the users and the people who create these and the and the folks who ask for us to register them, if we all know they're so insecure. What's keeping them so alive and well? Is it again because there's no other good option? And that's what you and your students are all working on?
14:03 Speaker 0 Well, the simple answer is inertia, right? We've all passwords have been invented, you know, so many about 50 years ago, uh, and we've all gotten accustomed to using them. At this point, trying to get people to switch to something else is actually quite difficult. Um and so second factor actually is getting some adoption. Interestingly, there are now studies that try to estimate how many people have adopted second factor on Gmail. There was just a paper published last summer that claims something like six percent of Gmail users six.
14:32 Speaker 1 That's so tiny.
14:33 Speaker 0 So I know actually you say tiny, but to me this actually sounds like a remarkable success. Oh, really? Getting people to adopt technology at a rate of six percent is actually quite remarkable. Yeah, these are large numbers of people already. And by the way, these are as I should just emphasize these are estimates based on an academic paper that did its best to estimate the number, we don't actually know what the real number is. Um the our current estimate is six percent. Some people, you know, the glass half empty folks would say, oh, it's so small, it'd mean second factory isn't working. The glass uh half full people would say, wow, six percent out of however many hundreds of millions of users they have is a remarkable success. Aaron Powell
15:12 Speaker 2 So we're talking about the consumer world, but for example, here we use Okta Octa's clearly part of our portfolio, but can't you force people to do second factor or are uh in a way that's easy, right? Yeah. Because that was
15:26 Speaker 1 that's easy. Like I just authenticate once, and then I have all my applications. So like Again,
15:30 Speaker 0 that's a wonderful question. So I can tell you that uh at Stanford, um uh Stanford actually hired a fantastic uh CSIO, chief security officer. And one of the things that he did is he mandated second factor access on the Stanford campus. Now that's a lot of people. That's like tens of thousand tens of thousands of people across the Stanford campus, and they now when when they want to log in to the university systems, they have to log in using second factor. And guess what? I mean, there was some resistance initially, and uh we're still all alive. Yeah, we're still all the world did not stop. You're getting like everybody's using their second factor and they're still able to do their job and it just works. So definitely in um um more controlled environment, it's much easier to mandate second factor.
16:11 Speaker 1 Right. I just wish there was a world where you don't even have to make an effort to have security. Like it should be effortless in my mind. Because even though it's great that people learn technology, isn't it possible that like you know, I was thinking of we were talking earlier about some of the people we know in common through the park and Stanford research security research world, but I was thinking of like some of like you know, implicit authentication or other ways of finding out like based on patterns of behavior that this person is really who they say they are. Like, are there other things that we can do that we don't have to work at? Like I feel like I'm I have second factor enabled, but I'm lazy. I don't want to have to work at this.
16:45 Speaker 0 Absolutely. So the best security technology that uh has had the most impact in the world is security technology that uh is uh is invisible, that people don't even know that it's there.
16:55 Speaker 2 I think actually
16:56 Speaker 0 encryption is a really good example of that, right? When you connect to Google, that entire communication channel is encrypted and you don't you don't even know that it's happening. You did nothing to make it happen, and yet it's all encrypted.
17:07 Speaker 1 Exactly. I want more of that. More of that.
17:09 Speaker 0 So unfortunately, there well, on the one hand, there is actually a lot more that we can do, and actually things are being done. For example, like you mean you mentioned implicit authentication. Um the false positive rates on that are still a little too high for it to be massively and widely used, but that is definitely a very interesting direction. Umfortunately though, there's only so much you can do using implicit uh with without any explicit user inter interaction. And the reason is again, I can always try to do as an attacker, someone might always try to do a social engineering attack on you. Spare phishing or phishing. And if you just expect, if the user just expects the system to just work and do the right thing, um that can't possibly work because the attacker can make you think that um what you're about to do is secure, is safe, where in fact it's not.
17:57 Speaker 0 Um so the more the attacker knows about you, the easier it is for the attacker to fool you. Um and so users, you know, user we always preach this. Users have to be vigilant and make sure they don't just type in their passwords or or s or or enter their second factor whenever they're asked, they always have to think is that safe for me to enter uh my credential here or not. And I wish there was a way to make this completely ubiquitous uh so that it's completely transparent to users, but because attackers can become more and more sophisticated over time, there will always be a need for the for the user to somehow think about what they do before they do it.
18:34 Speaker 1 Right. I think ultimately this is where every security system fails. It's because technology doesn't live in a in a vacuum, it's in a social context.
18:40 Speaker 0 Although I have to say the goal role of technology is to make it so that the only attack that's possible on you is a social engineering attack.
18:47 Speaker 2 But but I think that's also why the CSX um approach is a great one. So if it's computer scientists who are also trained as you can use, designers, you know, designers, you know, psychologists, etc. There's hope for us to sort of come at things in different ways. Aaron Powell
19:01 Speaker 0 There's a lot of room for for education for sure for improving security. Uh a developers need to become more aware of, you know, when they introduce a security vulnerability, a bug in their code, that's gonna impact a lot of people. So developers need to be aware of the need to write secure code. That's what we try to do in our classes. But also the end user needs to be aware that you know they shouldn't just trust uh their computer or the company or the web website they're interacting with to uh make them secure. Users have to be vigilant of
19:28 Speaker 2 self-yeah, and users have a responsibility. Okay, so you've scared me a little bit already about second factor and how not that many people are using it and and how we're not as secure as we might like to believe we are. Scare me with encryption. What are you working on that well, that are either either sort of help or are that I should be worried about?
19:48 Speaker 0 You know, we we kept talking about second factor authentication, but there is like a big elephant in the room, which is that the current techniques that are used for second factor authentication make it so that stealing the user's password. Does not let the attacker log in as the user. But all these credentials, all these user credentials are still stored in the cloud. They're still stored in one way or another at um, you know, at a central repository at websites that the user is trying to log into.
20:15 Speaker 2 Well,
20:16 Speaker 0 in recent years, as you know, again and again and again, hackers don't attack the end users or not as much. And in instead, they go, or in addition to, they go and attack these central repositories. So we've all seen the attacks on um Target, where they got a whole bunch of user information, Office of Personnel Management, they got a whole bunch of information. Sony attacks, there have been many, many, many of these publicized attacks. And many are
20:39 Speaker 2 not publicized for that.
20:40 Speaker 0 And many not publicized indeed, where the attackers actually go after uh central repositories rather than out going after the end users themselves. Well, so second factor authentication helps protect the user from losing uh their passwords, but it does not quite help protect the central repository where all these credentials are stored to begin with. So what we've been working on is uh actually a way to kind of get the best of both worlds where you could have an authentication scheme that is based on second factor, but um the central repository only has sort of public information. So even if the attacker breaks in and is able to steal this public this information at the central repository, that will not help them later on log in as that user.
21:24 Speaker 1 That's fascinating.
21:25 Speaker 2 Interesting. Well, that makes me feel better, I have to say.
21:28 Speaker 1 Let's actually segue a little bit to um a theme you've been talking about, which is this power of math in everyone's hands. And you know, one of the things that people talk about when they describe technologies like Bitcoin and the blockchain is about putting your trust in math versus another intermediary and actually letting that become a form of trust. So we'd love to hear some of your thoughts and work in the area of Bitcoin and blockchain.
21:51 Speaker 0 Absolutely. Bitcoin is, I think, one of the exciting developments in the last couple of years. Uh I'm a I'm a big fan. Um in fact, we're just starting this fall, we'll be teaching a class on Bitcoin at Stanford, just an entire class devoted just to Bitcoin uh blockchain technologies and other cryptocurrencies. This is um uh myself and uh Joe Benoit, one of my postdocs were going to be teaching this class together. So Bitcoin is uh is really exciting. As you say, the security of Bitcoin is based on math. It's based on what's called the digital signatures and the mathematics that goes into digital signatures. Um the reason it's so exciting is first of all, uh well, it's for me, it's yet another application of of of crypto. Um but beyond that, it's actually um uh there are lots of people in this world who do not have access to a banking and financial system.
22:39 Speaker 0 Uh and Bitcoin is
22:40 Speaker 2 a
22:41 Speaker 0 fantastic way for them to still to continue to use uh uh currencies without having to rely on uh on a centralized banking system. So that's so the power of Bitcoin in the developing world is enormous. And we're gonna be seeing gr a lot of growth, in fact, are a lot of start startups going after that space. So we're gonna see growth of the use of Bitcoin in the developing world. And that's really quite fascinating. It really does, it really will improve the lives of the people involved.
23:07 Speaker 2 Do you think then from your um vantage point that Bitcoin adoption happens first in the developing world because of that, because of the lack of, you know, like you say first world banking infrastructure, et cetera. Aaron Powell
23:18 Speaker 0 Well, there are many reasons why Bitcoin is is being used today. It's for obviously it's used in the develop developed world as world as well, not just in the developing world. But yeah, the uh the the reason why its appeal in the developing world is so high is exactly because it's it gives you a way to to to uh use money without having to rely on this uh on the you know the required banking infrastructure which just doesn't exist.
23:41 Speaker 2 And
23:41 Speaker 0 there are like I said, there are many startups going after that space um and uh we'll see big movements there. So what we've been interested in in the area of Bitcoin is basically how can we help scale it up, how can we help improve security and so on. So I'll just maybe mention one thing that we just re did recently. Um again, this is work, what joint work with uh Joe Bonot and some of my students. Um we have these uh bit bit uh Bitcoin exchanges, uh, and many of them actually keep money on behalf of their customers. So companies like Coinbase and others that actually, you know, they're they function as Bitcoin banks in a sense. Right.
24:15 Speaker 2 Well,
24:15 Speaker 0 we've had examples where these Bitcoin banks didn't do so well. You might have heard of Mount Gox that held uh people's money and the end in the end it turned out not so well. So what we'd like to do is we'd like to kind of uh help um uh Bitcoin exchanges um become more transparent and increase trust in their holdings. So ideally what you'd like to do is um basically every day an exchange could prove that the amount of assets that it holds is more than the amount of obligations that it has, right? So obligations are basically the um bitcoins that it collects from its customers, and assets are the bitcoins that it own owns itself. And you'd like you'd like it to prove that the number of bitcoins it owns is more than the number of bitcoins that it holds on behalf of its customers.
25:00 Speaker 0 That would mean that the exchange is solvent.
25:03 Speaker 2 Right.
25:04 Speaker 0 Yes. Well, uh proving that you're solvent uh is easy if everything was in it was transparent. You could just re say how man how many bitcoins you you you owe and how many bitcoins you have. But most companies would be reluctant to reveal that information just because that's too personal, that's too um revealing too much information about your business. So what we designed is basically a mechan a mechanism that allows you to prove solvency, but do it in uh in a way that's called zero knowledge. So you can prove that you're solvent, so an exchange can prove that the amount of bitcoins it has is more than the obligations that it has, but do it in a way that reveals nothing at all beyond the fact that it's solvent. So by enabling that, um essentially we enable uh these exchanges to every day run through this proof that they're a solvent. Anyone who cares can then look at the proof and convince themselves that the exchange is solvent, but there is nothing revealed, nothing personal or private is revealed in the process of doing this proof.
25:59 Speaker 0 Aaron Powell That's
26:00 Speaker 1 fascinating because it feels like it would have so many applications if you could take that that mindset to other problems for how to um engage and trust, have trusted interactions with with stranger parties where you don't want to have transparency as a proxy for trust.
26:17 Speaker 0 Absolutely. I think that's that's uh that's a really, really good point. So there are lots of other areas in the Bitcoin world where these zero knowledge mechanisms are being used. Uh there are things like smart contracts where you want to prove that you're following the contract correctly, but you want to do it in a zero-knowledge manner so as not to reveal what exactly it is that you're doing, just that you're following the contract properly.
26:38 Speaker 2 So this sounds a little bit like FDI and FDIC insurance for for Bitcoin that like people have this comfort that you know they're gonna get their money back if if push comes to shove. But how do I trust in that other mechanism? So FDICI trust because I trust in some sense in the US government and that it has the money to pay me back. Where does my trust lie then with this mechanism that says you're solvent?
27:01 Speaker 0 Like how do I know that you're telling me the truth? Right. So basically when I say that so that's a really, really good question. And the answer is uh like many other things with Bitcoin, that the answer is in the mathematics. Yeah, it's secure. I mean, it's it's the reason you have faith in it is because um, well, it's based on hard map problems for mathematics. If the exchange was able to uh produce a false proof, that necessarily means that they were able to break some problem that we we believe is unbreakable. Right.
27:31 Speaker 2 Uh or at least difficult to break. Right.
27:33 Speaker 0 And so uh but again, uh much of Bitcoin depends on these hard problems of mathematics, right? So the security of Bitcoin depends on the security of digital signatures. Umce we have faith in the digital signatures that we have, we have faith in the in the in the currency. I see.
27:47 Speaker 1 So I'm gonna ask something that's probably very blasphemous here, given who I'm speaking to and where I'm sitting when I'm when I'm asking this. Is it naive of us to put our trust in math as well, though? Because you know, on one hand we're saying we don't trust other human beings with certain things because human beings are faulty mechanisms. But it's not like math is this closed loop perfect system. I mean, we think about even I'm just thinking concretely about the fact that the NSA must have like the world's best mathematicians employed, working on cracking all kinds of things. Aaron Powell
28:16 Speaker 2 Not to mention all the failed hedge funds that have great mathematicians employed, you know. Right. I think
28:21 Speaker 0 these are really I mean you're you guys are bringing uh up a really, really great point that uh a lot of the security that underlie underlies not just Bitcoin, but really all of cryptography. Right. We talked about these secure channels that you set up with Google and all that. All those channels, the reason they're secure is because we believe in the underlying cryptographic primitives that are used to secure them. Now, why do we believe those primitives? Well, to tell you the truth, the answer is because lots of smart people have looked at the underlying mathematical problems, and no one has been able to show that nobody's been able to show that uh they're not hard. So just to be concrete, for example, a lot of the securities based on, say, just to give one example, the difficulty difficulty of factoring large numbers. Right. Right. Well, how do we know that factoring large numbers is hard?
29:07 Speaker 0 Well, the truth is we don't know that it's hard. Well,
29:10 Speaker 1 especially in an age while our computing power is increasing exponentially.
29:14 Speaker 2 It was hard a hundred years ago as so hard right now.
29:17 Speaker 0 Well, actually, you know, surprisingly, the growth and computing power is actually helping us secure these problems. Oh, yeah. So that's actually not a problem. So that's
29:23 Speaker 1 counterintuitive.
29:24 Speaker 0 And the reason is because as computers get faster, uh we can uh um you know, end user machines can actually handle larger and larger numbers. But if you if you just make the number like twice as big, factoring it is not twice as hard. Factoring it becomes exponentially hard. So that the fact that we that end user machines can handle twice numbers that are twice as big means that attackers now have to work incredibly hard. But the risk that I was referring to is how do we know that there isn't a better way to factor numbers? Or how do we know that there isn't a better way to break the encryption or the or the digital signatures that underlies Bitcoin or or Google? Google channels. Actually, the whole world of crypto in some sense was invented in uh the public key, the modern, what we call modern cryptography was started uh back in uh 1976 here at Stanford, and the problem that by Diffie and Hellman and the problem that they set out uh that they basically based their systems on still hasn't been solved.
30:16 Speaker 0 Yeah, it's still it's a hard problem. Lots of people have tried to break it, but it has not been broken so far.
30:22 Speaker 2 Now I should say, and probably some of the listeners are now thinking, there is actually a
30:26 Speaker 0 looming threat, which is really quite why which is again shows why this field is so much fun. Yeah, there is a looming threat. It turns out there's a whole other class of computers that we have not been able to build yet. Quantum computer quantum computer. Yes,
30:40 Speaker 1 exactly. I'm so glad you brought this up. They're
30:42 Speaker 0 not based on classical physics. They're based on the fact that our world is a quantum world. And if I can explain it in one sentence, is basically the one way of thinking about it, is um, as you know, in quantum theory says that an electron is actually in multiple places at once. And it turns out if something is in multiple multiple places at once, in at a very vague level, you can say that um each place that it's at can be used to compute. And that allows you to do many computations at once, which we couldn't do on a classical computer. Technically, that's not quite accurate, but there is a way to make this precise and accurate. Uh when the bottom line here is quantum computers can solve certain problems that classical computers can't. And in fact, uh all the world of crypto that we use on the internet today, and for Bitcoin as well, uh, would be um well, would be broken if someone was able to build a quantum computer.
31:33 Speaker 0 Now you don't have to lose too much sleep over this today because no one has been able to build a quantum computer and it's not on the horizon even.
31:42 Speaker 1 So let's actually probe on this a little bit more though, because you know, we've been hearing about quantum cryptography and quantum computing as this potential holy grail um for years. Why is it really far away? Are the enabling conditions at all changing that can make it possible? I feel like we're seeing a resurgence again of interest in in advances that show that they might be more possible to build than they have before. Absolutely.
32:03 Speaker 0 Absolutely. So before I answer that, actually, let me just make a quick comment here, which is to say that even if tomorrow we found someone, you know, open up the New York Times and it says, you know, first quantum computer built. Don't panic. Yeah, there's no reason to
32:15 Speaker 2 panic. That's not the end
32:16 Speaker 0 of the world.
32:17 Speaker 2 Do not panic. Do not panic. Yeah,
32:18 Speaker 0 do not panic. Not the end of the world. It turns out the crypto community is not sitting on its uh on its hands. We've actually been hard at work and building uh backup cryptographic primitives such that even if somebody builds a quantum computer tomorrow, all we would have to do is switch out the primitives that we have today, move to these new primitives, and we're back on the horse. Yeah, we're back in business. And as far as we know, um quantum computers will not be able to break those new primitives. Right. So how likely
32:43 Speaker 1 is that New York Times headline, though?
32:45 Speaker 0 Well, the answer is that building a quantum computer is actually quite challenging. And the reason is uh I mentioned electrons before. Well, you can imagine um each quantum computer, it's called a qubit, needs to kind of do its operation, but it can't do its operation on its own. It's got to interact with other qubits. Well, the difficulty in building these quantum computers is you need to have qubits interacting with one with one another, but not interacting with the environment. And so building many, many bits that interact with one another, but not with anything else anything else uh has turned out to be quite an engineering challenge. But I do have to say that there's been really quite remarkable progress in the last couple of years in making that happen. It's not clear um how fast those comp th those things can be actually be realized. But it looks like there is actually a path now towards building quantum computers.
33:33 Speaker 0 Uh so at some point. I would I would speculate, I don't know, I wouldn't bet anyone on it, but I would speculate that in my lifetime we'll probably see some sort of a of operating quantum computer. Aaron Powell
33:43 Speaker 1 What are some of those enabling conditions? Is it like material science advances? Like what are the things that make quantum computers possible?
33:50 Speaker 0 Yeah, it's actually mostly physicists and material scientists folks that are working on this. Absolutely. This is a, you know, I would say that the computer scientists have done their job here in that, you know, we have shown very compelling applications for quantum computers. The ball now is in the physicists' courts. You know, just build the thing.
34:06 Speaker 1 So you mentioned earlier, Dan, that um, you know, that a lot of this is that cryptographers and secure and computer scientists and you know security researchers have been working for years, like with these backup, you know, qubit idea, I mean these backup ideas for quantum cryptography and all these other things. Clearly, a lot of security research is about anticipating attacks and not even just anticipating attacks, but what types of attacks are gonna happen. Because the world is continually evolving. So, how does that play out in your work and what you do with your students? Aaron Powell
34:35 Speaker 0 Yeah, I have to say that kind of uh uh uh anticipating um anticipating what what attackers are going to do is actually a uh quite an important area of research in computer security in general. One of the things we try to do with my group is again anticipate kind of what attacks are gonna come that we haven't seen yet. And of course, once we do identify an attack that we haven't seen yet, we do a lot, we work hard to try and make sure that it doesn't happen and and we uh propose ways to fix it. I'll give you maybe a couple of examples. So one thing that we did uh while uh a few months ago um was uh look at the security of password managers. Yeah. So speaking of user user authentication, we were kind of curious about how secure our password managers that are embedded in browsers. Well, um so again, in the in the in the vein of uh anticipating attacks, it turned out, well, there are actually quite generic attacks that could be applied to these password managers and extract passwords uh without the user's knowledge or consent.
35:30 Speaker 0 So that was kind of uh troubling. And again, it it's in the uh vein of not uh uh you know putting your hand in the your your head in the sand. The goal is to kind of understand what how vulnerable are our systems, how secure are they, are they, are there places are there uh parts of our systems that can be improved? Um and so looking at password managers, basically we identified places where password managers could be strengthened. We wrote a paper explaining what our attacks are, we explained exactly how they could be strengthened and how to defend against these attacks. And I've I'm thrilled to say that actually a lot of the many of the big companies adopted our proposals, and in fact, uh they've pushed patches to uh exactly uh uh address the issues that we brought up. So it's an area that's actually quite a lot of fun to work in. Our students, you know, obviously they get to identify new attacks before they come out.
36:19 Speaker 0 Um and then our focus basically is again fixing and making sure those things are not exploited.
36:25 Speaker 1 When you say identify though, you're not just meaning like they're seeing them out and seeking them out in the wild and then identifying and labeling them. You're actually meaning that they're you guys are actually creating those attacks. Well, I wouldn't uh well
36:35 Speaker 0 basically we look at the security of the of systems and we try to identify uh ways in which you know perhaps they're not as secure as as as one would think. And it's very important to do this kind of research because again, if you think that something is secure, you, the end user, think that something is secure when in fact it's not, that's doing a lot of harm overall. Aaron Powell
36:57 Speaker 2 Security didn't used to be the sort of the first thing or even the third thing, maybe that that people had in mind when they were building systems. Are we getting better? You
37:05 Speaker 0 know, the simple answer is yes, things really are getting better. But a lot of it has to do with process. So you see that within companies, the large companies uh for sure, there's actually a much stronger emphasis on security now. And in the particular point is that the security teams have a lot more power than they did in the past. So in big companies like Microsoft, Apple, Google, um uh security teams, in fact, are involved in the process from the design phase, which is really important. Uh and then if a product is about to ship out and a security the security team discovers a big vulnerability, they actually have the power to delay shipping. Yeah, so those kind of pol putting those kind of policies in place really helps companies ensure that products that they ship out um at least satisfy, you know, some criteria to make them more secure.
37:51 Speaker 0 Aaron Powell
37:52 Speaker 2 So that tension between like we gotta get this thing out here, we gotta get, you know, we gotta go go go that versus security that it's not as much of a battle anymore.
38:00 Speaker 0 No, no, I didn't say that. I said that the large in the large companies, security teams have uh much more power than they used to. Um when you look at products coming out of smaller companies, especially startups, uh, you know, often there's a there really is a rush to market. And you can understand that uh completely, right? There's no point in securing a product that's never gonna get used. So you'd first like to build a user base and then worry about secure about securing it, right? You can kind of see see where that mentality, how that mentality might evolve. And what we're trying to get across is that's actually uh quite problematic because once your product is out there, once you build a user base, your users are used to using the product in a particular way. If it turns out that you have to make changes in the user interface because of security concerns, uh that actually would make it harder to later on make those those changes to make the product more secure.
38:51 Speaker 0 So my hope is that uh startups can also pay attention to security before they ship products. So you know, always if you're building a startup, if you're even a small group of developers who are putting up a product together, always have some folks who are in charge of um looking at attacks. This is often called uh uh threat modeling. So even as a group of developers, you should have meetings and uh engage in this activity, activity called threat modeling. Try to write down explicitly what are the attacks that are possible on your product, and then try to design ways to prevent those attacks. And that should be done from day one. It shouldn't be just left to the big companies to do. Everybody in the software world needs to be doing this.
39:31 Speaker 1 It's actually interesting because one of our partners, Frank Chen, always talks also to about our startups and their security hygiene, even
39:37 Speaker 0 well, at least in terms of uh securing the backend systems, um these days there's a lot of outsourcing going on in in in terms of uh um back end systems. You know, you you you outsource a lot of operations to the cloud, so at least basic security issues of making sure your network doesn't fall under a DOS attack is something that the cloud cloud uh takes care of uh for you. Um At least kind of uh even small companies can do quite a lot by relying on on the cloud. They can do quite a lot in securing their own infrastructure and the backend system for their own products. Uh so that that is getting that is definitely one aspect in which things are getting better.
40:14 Speaker 2 We're at a point now where it sounds to me like I shouldn't assume anything. Um I can assume in some sense that like, well, big company A, they'll probably be doing a pretty good job, but that doesn't mean I should also assume that this other thing that I'm I'm looking at, you know, from a big company or from a small company has the same uh degree of security or or control or protection.
40:37 Speaker 0 Well, the uh it's uh basically you know, software is complex, software is hard to write. Software that just works is in you know and reliably works is hard to write. Software that works reliably and is resistant to attack is even harder to write. And so no, you can't assume that anything is secure, but that's okay. Yeah. I mean, we don't live in a world that where we expect perfect perfect security ever, right? You're our our houses are not perfectly secure, and yet we seem to cope with it uh quite well. So we shouldn't expect our software artifacts to be perfectly secure, and there's no such thing. I mean
41:13 Speaker 1 that's actually a good point.
41:14 Speaker 0 Whenever you whenever an attacker invests enough energy in trying to break and penetrate in um into a system, by expanding and uh expending enough energy, they'll be able to do it. Right. It's true in the physical world, and it's true in the software world. Aaron
41:28 Speaker 1 Powell You mentioned that you're teaching this new course. Are you also I've noticed that you've taught a couple of MOOCs on applied crypto um or computer science MOOCs. Can you tell us, share some of your thoughts on on A, why you did that, and then B, like your thoughts on the evolution of education.
41:44 Speaker 0 Oh, I have to say the MOOC MOOCs are uh a big deal of Stanford, and uh they've they've actually played uh uh important part in my life. Um so I really enjoy teaching. This is why I'm a professor. I really, really like teaching, especially teaching at Stanford is a lot of fun, lots of smart students. So yeah, um obviously it's a pleasure to teach to teach them. Um what I've done though is I've taken my uh on-campus applied crypto class and I've actually made it into an um I I sat down, recorded it, and I made it available to the public. So anyone who wants to can uh sign up for the class. Um it's available off of my homepage. You can easily find it and sign up. Uh the class repeats every three months, and you can just sign up and take it. It's free. You get um uh a statement of accomplishment once you're done with it.
42:29 Speaker 0 And in fact, lots of people have taken it. So there's something like 600,000 people have signed up uh for this class. And uh it's been really rewarding for me. First of all, I would have to teach at Stanford for about
42:41 Speaker 2 2,000 years to reach 600,000 people.
42:44 Speaker 0 I have to say, I kind of think of this class as a MOOC. It's not a replacement, it's definitely not a replacement for on-campus classes. I I now I've come to realize this MOOC is basically like a 21st century textbook. So that's a neat way of thinking about it. Yeah, so if you take the the MOOC online, you should be it's almost the same as actually reading a textbook on crypto. Yeah, it's a textbook that's uh maybe a little easier to read because it's videos and exercises and uh it's a little bit more interactive. It's not a pass passive experience like a textbook. Um but really it is just a 21st century textbook. And actually it's uh improved my on-campus teaching as well, because now when I teach a class on campus, if there's like a topic that I think is uh kind of boring and you know, maybe we should move on to something more interesting and uh spend more time on the more interesting stuff.
43:30 Speaker 0 All I do is I kind of give an overview of the kind of the maybe the easier topic, and then I just say, you know, go see the MOOC to uh to kind of get a um a more in-depth um the coverage of of of that topic, and then we move on to the deeper and and more interesting topics that might take longer and require more class time. So it's really has improved my on-campus teaching as well, because I can rely on it and and direct students uh to to watch it, just like in the old days, you might direct students to read chapters in a textbook, except students wouldn't read the tap chapters in the textbook.
44:00 Speaker 2 Whereas here all they have to do is just watch some videos
44:02 Speaker 0 and they seem to be much more attuned and and uh used to that, I guess in the age of YouTube.
44:08 Speaker 2 Some of we may need to sign up for the MOOC right away. Go for it.
44:12 Speaker 0 I feel like we're gonna get
44:13 Speaker 2 quiz next time we see Dan. So does the MOOC, I mean, how how geographically how does it distribute? And have you noticed any like cryptography is
44:21 Speaker 1 hot in you know? I don't know. The new cryptographic clusters. Oh,
44:26 Speaker 0 yeah. It's uh no, it's actually all over the world. It's fairly fairly there's uh obviously a strong center in the US, but uh no, it's from all over the world, India, China, just uh all the places you would imagine, and it's fairly uniform.
44:36 Speaker 2 Aaron Powell You said that the CS department at Stanford has the highest number of women um as a major. Are you seeing any kind of distribution um across your MOOC um male, female that that tells you anything?
44:48 Speaker 1 That's a great question. Yeah,
44:50 Speaker 0 that's a great question. But to be honest, I I looked at uh the geodra geographic distribution. I haven't quite looked at the gender distribution.
44:56 Speaker 2 Okay.
44:57 Speaker 0 So
44:57 Speaker 2 I don't know. I don't
44:58 Speaker 0 know the answer to that. Well, we'll find that out
44:59 Speaker 2 next, I
44:59 Speaker 0 guess. Yeah.
45:00 Speaker 1 Are they all watching the MOOC um on their phones? Because not everyone has computers and foreigners.
45:06 Speaker 0 Yeah, they can watch it however they want. They can watch it on their laptop. They if they have a slow internet connection, they can download the videos overnight and then watch them the following day. They can watch them on their tablets, they can watch them on their phone, they can watch however however they want. So the platform is actually very general. And I should say that um it's not like sitting in a movie theater and watching a movie passively. These MOOCs basically, at least my lectures, they pause every minute or two and ask the students questions. It's more of the Socratic way of learning where you know, let's develop this material, and by the way, what do you think about this topic? And then the student has to answer, and then we continue based on the student's answer. So that uh kind of the the it's more it really is kind of an interactive experience uh as the as the course evolves. Aaron Powell
45:47 Speaker 2 And are the questions that you're saying you answer answer all these emails are the questions that you get in any way different from from the questions you get from your students at Stanford? I mean, in terms of type and kind of what they're going after.
45:59 Speaker 0 They're all over the place. Some of the MOOC students are extremely bright. Yeah, they ask really, really good questions, and in fact, they answer each other's questions. There's like an online forum as part of the MOOC and the answers each they answer each other's questions, and I read the answers, and they're extremely insightful. So uh well, you know, there are lots of smart people out there, and I'm happy that they're taking these MOOCs.
46:19 Speaker 1 It's great that Stanford is encouraging it too, because you know, one could argue like, wait, you're paying this tuition and these are this is our best asset, these professors, and then to give your knowledge away for free. I mean, some universities actually have a complete opposite attitude about that.
46:34 Speaker 0 Right. So as as as we said, I mean it this is not going to replace on-campus education. It's more more to supplement it. Um and the goal is to basically have our way of looking at the material be made available to the world. It's a 21st century textbook. Exactly. It's not it's exactly like a
46:50 Speaker 1 textbook. Love it. We love that. Dan, well, we're really excited to have you as our new professor in residence. We can't wait to keep the conversation going about all of these exciting topics and more.
46:59 Speaker 0 For me, I can tell you that uh a lot of my research is being driven by ideas that come out of startups. So working with the startups that come through Andreas and Horowitz is gonna be a lot of fun for me, looking at ideas, looking at pictures, um, expressing opinions, obviously, all of this. I'm really excited and I'm looking forward to doing all of it.
47:16 Speaker 1 Thank you.
47:16 Speaker 0 Thanks.
Previous Company Building in Crypto: A Conversation between Brian Armstrong and Chris Dixon Next What's Next for Education Startups Page updated August 25, 2026 · transcript and summary are machine-generated