WEBVTT

NOTE S10 E11: The End of Data Decryption: Processing Sensitive AI and Web3 Workflows on Encrypted Data with Fully Homomorphic Encryption with Nigel Smart, Chief Academic Officer at Zama

1
00:00:00.000 --> 00:00:20.960
<v Nigel Smart>Homomorphic encryption allows you to do computation on encrypted data. That's great. Now what does a blockchain do? A blockchain allows you to do authentic computation on public data. The authentic computation is that the smart contracts are agreed beforehand and the data is authentic in that we know it's replicated correctly over the blockchain.

2
00:00:20.960 --> 00:00:26.680
<v Nigel Smart>chain. Authentic public information means the data on the blockchain is in the clear. On the other

3
00:00:26.680 --> 00:00:31.900
<v Nigel Smart>hand, with homomorphic encryption, we can encrypt that data. So if we can combine homomorphic

4
00:00:31.900 --> 00:00:36.740
<v Nigel Smart>encryption with blockchain technology, we can solve all sorts of problems that the blockchain

5
00:00:36.740 --> 00:00:43.480
<v Nigel Smart>ecosystem has. My name is Nigel Smart. I am the Chief Academic Officer at Zama.

6
00:00:46.440 --> 00:00:52.260
<v Noah Labhart>This is Code Story, a podcast bringing you interviews with tech visionaries.

7
00:00:52.320 --> 00:00:53.680
<v Clip>Six months moonlighting.

8
00:00:53.760 --> 00:00:55.320
<v Clip>There's nothing like the backhands.

9
00:00:55.460 --> 00:00:58.080
<v Noah Labhart>Who share what it takes to change an industry.

10
00:00:58.300 --> 00:01:00.220
<v Clip>I don't exactly know what to do next.

11
00:01:00.220 --> 00:01:01.220
<v Clip>It took many goes to get right.

12
00:01:01.760 --> 00:01:04.460
<v Noah Labhart>Who built the teams that have their back.

13
00:01:04.780 --> 00:01:06.120
<v Clip>The company is its people.

14
00:01:06.120 --> 00:01:07.400
<v Clip>The teams help each other achieve.

15
00:01:07.440 --> 00:01:08.560
<v Clip>Most proud of our team.

16
00:01:08.900 --> 00:01:11.160
<v Noah Labhart>Keeping scalability top of mind.

17
00:01:11.440 --> 00:01:12.860
<v Clip>All that infrastructure was a pain.

18
00:01:13.900 --> 00:01:15.300
<v Clip>Total waste of time.

19
00:01:18.200 --> 00:01:20.040
<v Clip>It's not an easy thing to achieve, my dear.

20
00:01:20.040 --> 00:01:22.080
<v Clip>Took it off the shelf and dusted it off and tried to begin.

21
00:01:22.740 --> 00:01:25.840
<v Noah Labhart>Derive the ups and downs of the startup life.

22
00:01:26.120 --> 00:01:27.560
<v Clip>You need to really want it.

23
00:01:27.620 --> 00:01:28.940
<v Clip>It's not just about technology.

24
00:01:29.060 --> 00:01:31.020
<v Noah Labhart>All this and more on Code Story.

25
00:01:32.380 --> 00:01:33.840
<v Noah Labhart>I'm your host, Noah Labhart.

26
00:01:34.120 --> 00:01:39.320
<v Noah Labhart>And today, how Nigel Smart is helping to build an open source cryptography company,

27
00:01:39.560 --> 00:01:42.940
<v Noah Labhart>enabling you to use fully homomorphic encryption.

28
00:01:49.560 --> 00:01:52.420
<v Noah Labhart>Nigel Smart is from Britain, but currently lives in Belgium.

29
00:01:52.540 --> 00:01:57.000
<v Noah Labhart>He has a PhD in mathematics, but headed into the world of cryptography early on.

30
00:01:57.200 --> 00:02:02.480
<v Noah Labhart>He has started a few companies in the past, both of which have successfully exited, one to Coinbase.

31
00:02:02.960 --> 00:02:06.400
<v Noah Labhart>But outside of technology, he loves to cycle and attend concerts.

32
00:02:06.660 --> 00:02:11.300
<v Noah Labhart>When asked about food, he said he loves all food, as long as it doesn't include eggplant.

33
00:02:11.300 --> 00:02:16.940
<v Noah Labhart>plant. Very early on, Nigel got involved with one of his current ventures. As an advisor,

34
00:02:17.180 --> 00:02:22.320
<v Noah Labhart>he started to spend more and more time with the company, supporting it through its many iterations

35
00:02:22.320 --> 00:02:28.340
<v Noah Labhart>and building next-level encryption for application builders, and doing so through open source.

36
00:02:29.980 --> 00:02:32.560
<v Noah Labhart>This is the creation story of Zama.

37
00:02:36.780 --> 00:02:44.740
<v Nigel Smart>Zama was founded in Paris about four years ago by Rand Hindi and Pascal Paillier.

38
00:02:45.060 --> 00:02:48.100
<v Nigel Smart>Rand had been a serial entrepreneur.

39
00:02:48.380 --> 00:02:53.020
<v Nigel Smart>He just had an exit from another company doing AI, private AI.

40
00:02:53.400 --> 00:02:58.920
<v Nigel Smart>And Pascal Paillier is also a kind of serial entrepreneur, but very much a cryptography head.

41
00:02:58.920 --> 00:03:03.520
<v Nigel Smart>and he'd been investigating something called homomorphic encryption.

42
00:03:04.980 --> 00:03:08.080
<v Nigel Smart>Now, homomorphic encryption, that's a very old scheme,

43
00:03:08.180 --> 00:03:11.300
<v Nigel Smart>actually due to Pascal Paillier, called Paillier encryption scheme.

44
00:03:11.420 --> 00:03:12.600
<v Nigel Smart>So it's actually named after him.

45
00:03:12.820 --> 00:03:17.340
<v Nigel Smart>Been around for a long time, but Paillier encryption doesn't allow you to do too much.

46
00:03:17.420 --> 00:03:20.420
<v Nigel Smart>It allows you to compute some functions homomorphically.

47
00:03:21.140 --> 00:03:22.460
<v Nigel Smart>I'll explain what that is in a minute.

48
00:03:22.840 --> 00:03:28.120
<v Nigel Smart>At the point of founding Zama, it was clear that you could do a lot more.

49
00:03:28.920 --> 00:03:34.740
<v Nigel Smart>what is this technology? What homomorphic encryption allows you to do is you can compute

50
00:03:34.740 --> 00:03:41.920
<v Nigel Smart>a function within the encryption. For example, I could give you the encryption of a value 3

51
00:03:41.920 --> 00:03:48.240
<v Nigel Smart>and the encryption of a value 5, say. And with a homomorphic encryption scheme, we can then compute

52
00:03:48.240 --> 00:03:55.260
<v Nigel Smart>the encryption of 3 plus 5, which is the encryption of 8. But the person doing that

53
00:03:55.260 --> 00:03:59.260
<v Nigel Smart>operation doesn't know the number three, doesn't know the number five, doesn't know the number eight.

54
00:03:59.260 --> 00:04:05.440
<v Nigel Smart>All he does is he knows that he is computing the sum of the values. Now that's exactly what

55
00:04:05.440 --> 00:04:10.980
<v Nigel Smart>Paillier encryption does. It allows you to compute additions and you can use that for example

56
00:04:10.980 --> 00:04:17.860
<v Nigel Smart>electronic voting. If I'm computing an election, I have a vote for Trump and I have a vote for Harris

57
00:04:17.860 --> 00:04:22.720
<v Nigel Smart>and I want to compute the total number of people who have voted for Trump and the total number of

58
00:04:22.720 --> 00:04:27.500
<v Nigel Smart>people who voted for Harris, and that's just computing a sum. So with homomorphic encryption

59
00:04:27.500 --> 00:04:32.380
<v Nigel Smart>like Paillier encryption, I can compute sums, so I can do things like electronic voting.

60
00:04:32.960 --> 00:04:38.320
<v Nigel Smart>However, if I do something which is called fully homomorphic encryption, I can not only compute

61
00:04:38.320 --> 00:04:43.720
<v Nigel Smart>sums, but I can also compute products. So going back to my example, I've got the encryption of

62
00:04:43.720 --> 00:04:48.440
<v Nigel Smart>three and I've got the encryption of five. Then some other party can compute the encryption of

63
00:04:48.440 --> 00:04:53.480
<v Nigel Smart>the product, which just turns out encryption of 15, even though they're not actually knowing what

64
00:04:53.480 --> 00:04:58.940
<v Nigel Smart>they're doing and once you can do additions and multiplications it turns out you can compute

65
00:04:59.460 --> 00:05:03.520
<v Nigel Smart>anything because anything can be reduced to additions and multiplications

66
00:05:04.560 --> 00:05:10.780
<v Nigel Smart>I got involved very early on when Rand was in his previous company, which his previous company's

67
00:05:10.780 --> 00:05:17.200
<v Nigel Smart>called Snips, and I was working with Unbound Security. We actually had a meeting in Paris

68
00:05:18.440 --> 00:05:24.320
<v Nigel Smart>lunch, and Rand suggested, oh, his next startup's going to be in privacy and cryptography, and I

69
00:05:24.320 --> 00:05:29.440
<v Nigel Smart>went, oh, that's interesting. And then at the same point in Snips he was working with Pascal or

70
00:05:29.440 --> 00:05:36.240
<v Nigel Smart>some stuff with Pascal's other company. And so then as soon as Pascal and Rand formed Zama

71
00:05:36.240 --> 00:05:40.620
<v Nigel Smart>I'm not quite sure how many months later but a few months later they phoned me up and said

72
00:05:40.620 --> 00:05:45.920
<v Nigel Smart>hey do you want to be an advisor and I went yeah okay I'll be an advisor so I was brought on as

73
00:05:45.920 --> 00:05:52.880
<v Nigel Smart>as advisor. And then over time, I've been spending more and more and more time with Zama as they're

74
00:05:52.880 --> 00:05:57.100
<v Nigel Smart>doing rather cool stuff. Then they had to give me a title. So they gave me the title of chief

75
00:05:57.100 --> 00:06:02.980
<v Nigel Smart>academic officer, which is a kind of silly title, but it was because chief cryptographer and chief

76
00:06:02.980 --> 00:06:07.680
<v Nigel Smart>scientist had already been taken. So because I was at that point an academic, they thought,

77
00:06:07.700 --> 00:06:09.380
<v Nigel Smart>chief academic officer makes sense.

78
00:06:11.620 --> 00:06:15.780
<v Noah Labhart>Tell me about the MVP for Zama. That first

79
00:06:15.920 --> 00:06:20.840
<v Noah Labhart>version of the product that was built. You were involved very early on, so I'm sure you were a

80
00:06:20.840 --> 00:06:25.720
<v Noah Labhart>part of this process. How long did it take to build and what sort of tools were used to bring it to life?

81
00:06:26.860 --> 00:06:34.040
<v Nigel Smart>In some sense, what we do is we enable developers to build product. While that's changing over time,

82
00:06:34.160 --> 00:06:41.000
<v Nigel Smart>the original kind of thought process was we're building tools to enable others to build end

83
00:06:41.000 --> 00:06:49.920
<v Nigel Smart>applications. The main things that were first built were a Rust library which implements the

84
00:06:49.920 --> 00:06:54.660
<v Nigel Smart>form of fully homomorphic encryption that Zama uses, which is something called TFHE,

85
00:06:54.820 --> 00:07:00.140
<v Nigel Smart>Torus Fully Homomorphic Encryption. So that's useful for developers who want to

86
00:07:00.140 --> 00:07:07.760
<v Nigel Smart>use Rust to build applications. But one of the points where this kind of technology would be

87
00:07:07.760 --> 00:07:14.800
<v Nigel Smart>used is in processing statistical data, doing machine learning, doing AI. So alongside the

88
00:07:14.800 --> 00:07:22.460
<v Nigel Smart>Rust implementation, another library stroke system was developed, which allows data scientists who

89
00:07:22.460 --> 00:07:30.700
<v Nigel Smart>are used to Python-style programming to turn their Python-style, PyTorch-like programs written in

90
00:07:30.700 --> 00:07:37.320
<v Nigel Smart>Python into encrypted versions of those programs. At the beginning, there were two dual kind of

91
00:07:37.760 --> 00:07:46.780
<v Nigel Smart>One was a Rust library to enable developers to build on Rust, and another which was to enable more data scientists to build applications.

92
00:07:47.220 --> 00:07:49.820
<v Nigel Smart>There must be two initial MVPs.

93
00:07:50.200 --> 00:08:05.940
<v Nigel Smart>And to then enable that, we created a developer community and tried to get as many people as possible to use the technology by open sourcing it, having webinars, having meetups, having all sorts of different activities, which kind of bring people into the ecosystem.

94
00:08:07.760 --> 00:08:12.300
<v Nigel Smart>can play with the technology themselves and see how it's going to be used. Of course, that's the

95
00:08:12.300 --> 00:08:17.320
<v Nigel Smart>first initial product. And of course, as time gone on, we've now got other products and ways of

96
00:08:17.320 --> 00:08:21.500
<v Nigel Smart>working directly where we're actually building applications directly for companies.

97
00:08:22.280 --> 00:08:22.920
<v Noah Labhart>Let's stay

98
00:08:22.920 --> 00:08:28.680
<v Noah Labhart>on those MVPs right now. Tell me about maybe a decision or two you had to make with those MVPs,

99
00:08:28.740 --> 00:08:33.620
<v Noah Labhart>how you approach the problem, maybe how you limited your scope in early days, or even

100
00:08:33.620 --> 00:08:36.160
<v Noah Labhart>and even technical debt acceptance, things like that,

101
00:08:36.200 --> 00:08:37.940
<v Noah Labhart>but how you worked through those decisions

102
00:08:37.940 --> 00:08:39.000
<v Noah Labhart>and how you coped with them.

103
00:08:39.960 --> 00:08:43.120
<v Nigel Smart>So the first decision is why Python, why Rust?

104
00:08:43.660 --> 00:08:49.240
<v Nigel Smart>Why Python is very clear that if you are wanting to do a MVP

105
00:08:49.240 --> 00:08:51.880
<v Nigel Smart>to demonstrate to people who are data scientists,

106
00:08:51.980 --> 00:08:54.220
<v Nigel Smart>most data scientists now program with Python.

107
00:08:54.520 --> 00:08:59.060
<v Nigel Smart>So having something that's Python-based is a kind of key

108
00:08:59.060 --> 00:09:02.380
<v Nigel Smart>if you want to onboard developers in that kind of ecosystem.

109
00:09:03.620 --> 00:09:23.160
<v Nigel Smart>And then so it's why Rust. The reason Rust is because Rust is now taken off because of its safety, because of its inherent features that it has. It has almost the capabilities as C++ has slightly more due to its age and the standard template library, but that's changing over time.

110
00:09:23.160 --> 00:09:26.420
<v Nigel Smart>but it has much better safety features,

111
00:09:26.760 --> 00:09:28.400
<v Nigel Smart>borrow checker in Rust, et cetera.

112
00:09:28.500 --> 00:09:31.960
<v Nigel Smart>So we can write more secure code easier in Rust.

113
00:09:32.980 --> 00:09:35.560
<v Nigel Smart>In some sense, the security community

114
00:09:35.560 --> 00:09:37.840
<v Nigel Smart>is currently going through a transition

115
00:09:37.840 --> 00:09:39.760
<v Nigel Smart>from C++ into Rust anyway.

116
00:09:39.860 --> 00:09:42.940
<v Nigel Smart>So we're riding that wave or leading that wave.

117
00:09:45.360 --> 00:09:46.820
<v Noah Labhart>So then you've got the MVP,

118
00:09:47.220 --> 00:09:48.740
<v Noah Labhart>you're getting some traction,

119
00:09:48.860 --> 00:09:49.580
<v Noah Labhart>you're happy with it,

120
00:09:49.640 --> 00:09:50.800
<v Noah Labhart>you're ready to press it forward.

121
00:09:50.800 --> 00:09:53.280
<v Noah Labhart>How have you matured it over time?

122
00:09:53.420 --> 00:09:54.820
<v Noah Labhart>This is what you were mentioning earlier.

123
00:09:55.040 --> 00:09:58.540
<v Noah Labhart>You know, how have you matured it, progressed the product, progressed the platform?

124
00:09:58.700 --> 00:10:02.680
<v Noah Labhart>And I'm curious about how you at Zama build your roadmap.

125
00:10:02.820 --> 00:10:07.840
<v Noah Labhart>How do you go about deciding what is the next most important thing to build or to address?

126
00:10:09.120 --> 00:10:11.800
<v Nigel Smart>We have these two MVPs, the Python and the Rust.

127
00:10:11.800 --> 00:10:21.020
<v Nigel Smart>We then saw that there was an opportunity for us to build another MVP that would be immediately usable by organizations.

128
00:10:21.560 --> 00:10:23.380
<v Nigel Smart>So this brings us on to blockchain.

129
00:10:24.140 --> 00:10:26.260
<v Nigel Smart>What does homomorphic encryption do?

130
00:10:26.360 --> 00:10:30.080
<v Nigel Smart>Homomorphic encryption allows you to do computation on encrypted data.

131
00:10:30.260 --> 00:10:30.940
<v Nigel Smart>That's great.

132
00:10:31.060 --> 00:10:36.440
<v Nigel Smart>It allows you to secure data that would otherwise be public.

133
00:10:36.900 --> 00:10:38.700
<v Nigel Smart>Now, what does a blockchain do?

134
00:10:38.700 --> 00:10:43.240
<v Nigel Smart>a blockchain allows you to do authentic computation on public data.

135
00:10:43.440 --> 00:10:47.420
<v Nigel Smart>The authentic computation is that the smart contracts are agreed beforehand

136
00:10:47.420 --> 00:10:53.140
<v Nigel Smart>and the data is authentic in that we know it's replicated correctly over the blockchain.

137
00:10:53.750 --> 00:10:55.440
<v Nigel Smart>Okay, they both got disadvantages.

138
00:10:56.580 --> 00:11:01.240
<v Nigel Smart>Authentic public information means the data on the blockchain is in the clear.

139
00:11:01.540 --> 00:11:04.440
<v Nigel Smart>So if you put data on a blockchain, it's in the clear.

140
00:11:04.440 --> 00:11:11.060
<v Nigel Smart>if on the other hand with FHE homomorphic encryption we can encrypt that data so if we

141
00:11:11.060 --> 00:11:16.840
<v Nigel Smart>can combine homomorphic encryption with blockchain technology we can solve all sorts of problems that

142
00:11:16.840 --> 00:11:21.760
<v Nigel Smart>the blockchain ecosystem has for example there's if you're talking to financial institutions

143
00:11:21.760 --> 00:11:27.960
<v Nigel Smart>they're not going to want to use blockchains public blockchains even in a semi-private manner

144
00:11:27.960 --> 00:11:33.240
<v Nigel Smart>like sharing a blockchain between three banks if they have to put all their customer data on the

145
00:11:34.440 --> 00:11:44.060
<v Nigel Smart>If they could put encrypted versions of that data on the blockchain and then enable computations on those encrypted values using homomorphic encryption,

146
00:11:44.980 --> 00:11:53.620
<v Nigel Smart>then one of the barriers to widespread adoption of blockchain in, say, for example, the financial services industry is removed.

147
00:11:53.940 --> 00:11:59.400
<v Nigel Smart>We saw the opportunity of combining blockchain technology with homomorphic encryption.

148
00:11:59.400 --> 00:12:08.640
<v Nigel Smart>encryption. So we built on top of our MVP, which was the Rust library, we then built what we call

149
00:12:08.640 --> 00:12:15.960
<v Nigel Smart>the FHEVM, which is the addition to Ethereum, which takes Ethereum and allows you to write

150
00:12:15.960 --> 00:12:22.700
<v Nigel Smart>smart contracts using the Solidity language to manipulate encrypted values on the blockchain.

151
00:12:22.960 --> 00:12:29.060
<v Nigel Smart>So that was an obvious extension. So we spent a lot of time over the last 18 months building that.

152
00:12:29.400 --> 00:12:31.600
<v Nigel Smart>and then building the surrounding infrastructure.

153
00:12:32.020 --> 00:12:35.580
<v Nigel Smart>So it's not just a case of you encrypt data.

154
00:12:35.840 --> 00:12:37.240
<v Nigel Smart>We could do that with the Rust library.

155
00:12:37.680 --> 00:12:39.920
<v Nigel Smart>Now what we have to do is we put it on the blockchain

156
00:12:39.920 --> 00:12:42.580
<v Nigel Smart>and we have to enable developers on the blockchain

157
00:12:42.580 --> 00:12:45.200
<v Nigel Smart>to manipulate it using Solidity.

158
00:12:45.440 --> 00:12:47.080
<v Nigel Smart>So in some sense, that's very much similar

159
00:12:47.080 --> 00:12:49.200
<v Nigel Smart>to what we were doing with Python and machine learning.

160
00:12:49.560 --> 00:12:52.360
<v Nigel Smart>The data scientists, they use Python, so we use Python.

161
00:12:52.640 --> 00:12:55.560
<v Nigel Smart>Blockchain community, they use Solidity, so we use Solidity.

162
00:12:56.500 --> 00:12:58.880
<v Nigel Smart>Then we have another piece of the puzzle,

163
00:12:59.400 --> 00:13:05.640
<v Nigel Smart>is that we have to get encrypted data back into clear text because doing encrypting something

164
00:13:05.640 --> 00:13:10.180
<v Nigel Smart>into the void is pointless at some point you want to decrypt it or someone wants to decrypt it

165
00:13:10.180 --> 00:13:17.240
<v Nigel Smart>so then we have to build key management systems which allow parties authorized parties to access

166
00:13:17.240 --> 00:13:23.800
<v Nigel Smart>the encrypted data so there we kind of use this is one of the things that i was contributing to a lot

167
00:13:23.800 --> 00:13:27.380
<v Nigel Smart>Next, in Unbound, we were building key management systems.

168
00:13:27.720 --> 00:13:32.180
<v Nigel Smart>It's doing a similar thing and it's using a technology called multi-party computation

169
00:13:32.180 --> 00:13:34.720
<v Nigel Smart>to execute the key management system.

170
00:13:34.980 --> 00:13:40.540
<v Nigel Smart>So to summarize that, we had MVP, which was Python for data scientists.

171
00:13:40.800 --> 00:13:43.740
<v Nigel Smart>We had the Rust thing for normal computer science developers.

172
00:13:44.200 --> 00:13:49.340
<v Nigel Smart>And then we built, on top of the Rust, we built a Solidity interface to allow people

173
00:13:49.340 --> 00:13:50.280
<v Nigel Smart>to do homomorphic encryption.

174
00:13:50.280 --> 00:13:55.860
<v Nigel Smart>encryption that creates a product that we can use within the blockchain environment but on top of

175
00:13:55.860 --> 00:14:01.580
<v Nigel Smart>that we need to do a key management system to manage the keys of the homomorphic encryption

176
00:14:01.580 --> 00:14:07.040
<v Nigel Smart>scheme and that we use oliparic replaces and now we're looking at we've got a blockchain product

177
00:14:07.040 --> 00:14:12.660
<v Nigel Smart>we've got a key management product we've got a rust library product and we've got the python

178
00:14:12.660 --> 00:14:17.800
<v Nigel Smart>being played scientists so we have yeah so there we have four different products already

179
00:14:19.400 --> 00:14:26.420
<v Noah Labhart>As you're doing something as bold and as complex as what you're building at Zama,

180
00:14:26.540 --> 00:14:27.820
<v Noah Labhart>you have to have the right team in place.

181
00:14:27.880 --> 00:14:29.620
<v Noah Labhart>So how do you go about building your team?

182
00:14:29.720 --> 00:14:34.220
<v Noah Labhart>And what do you look for in those people to indicate that they're the winning horses to join you?

183
00:14:35.760 --> 00:14:37.720
<v Nigel Smart>There's a lot of expertise we need.

184
00:14:38.300 --> 00:14:40.640
<v Nigel Smart>For example, there's areas I haven't even touched on yet.

185
00:14:40.740 --> 00:14:44.380
<v Nigel Smart>To make this thing really fly, we're going to need hardware accelerations.

186
00:14:44.380 --> 00:14:46.100
<v Nigel Smart>We also need hardware engineers as well.

187
00:14:47.800 --> 00:14:51.680
<v Nigel Smart>got about we've got between 70 and 80 people working for the company at the moment probably

188
00:14:51.680 --> 00:15:00.120
<v Nigel Smart>about 75 ish it changes on a on a weekly basis and around half of those have phd so around half

189
00:15:00.120 --> 00:15:06.160
<v Nigel Smart>of the people working for the company are really the main experts in their area so we've got a lot

190
00:15:06.160 --> 00:15:13.980
<v Nigel Smart>of domain expertise about a half as i said about half the company is a phd level how do we recruit

191
00:15:13.980 --> 00:15:18.940
<v Nigel Smart>these people? A lot of it's word of mouth. In the space, Zama is really well known.

192
00:15:19.060 --> 00:15:22.660
<v Nigel Smart>In the cryptography space, and especially in the homomorphic encryption space,

193
00:15:23.300 --> 00:15:28.040
<v Nigel Smart>Zama is probably one of the go-to companies. So we get a lot of people applying because they

194
00:15:28.040 --> 00:15:32.720
<v Nigel Smart>just know how they are. In the blockchain space, we're also now picking up really good brand

195
00:15:32.720 --> 00:15:39.040
<v Nigel Smart>recognition. So we get a lot of incoming people wanting to work for the company. And so then the

196
00:15:39.040 --> 00:15:41.800
<v Nigel Smart>The question is, how do you select?

197
00:15:41.940 --> 00:15:43.180
<v Nigel Smart>How do you down select?

198
00:15:43.340 --> 00:15:45.020
<v Nigel Smart>How do you choose the right people?

199
00:15:45.360 --> 00:15:48.680
<v Nigel Smart>I think we're really lucky in that we've got a really,

200
00:15:48.860 --> 00:15:50.760
<v Nigel Smart>our teams are really good.

201
00:15:50.880 --> 00:15:52.920
<v Nigel Smart>We've got really good spirit

202
00:15:53.450 --> 00:15:56.200
<v Nigel Smart>between working attitude in the teams.

203
00:15:56.960 --> 00:16:00.460
<v Nigel Smart>The way we ensure that is in the recruitment process.

204
00:16:00.560 --> 00:16:01.460
<v Nigel Smart>In the recruitment process,

205
00:16:01.540 --> 00:16:04.660
<v Nigel Smart>we spend a lot of time concentrating on,

206
00:16:04.800 --> 00:16:06.880
<v Nigel Smart>is the person a good fit for the team?

207
00:16:06.880 --> 00:16:12.760
<v Nigel Smart>Can the person deliver technically, but can the person also deliver in some sense socially as well?

208
00:16:12.860 --> 00:16:15.640
<v Nigel Smart>Are they a good fit for the team? Do they work well?

209
00:16:16.020 --> 00:16:19.520
<v Nigel Smart>Are they going to add something that we don't currently have?

210
00:16:23.040 --> 00:16:25.160
<v Noah Labhart>Let's flip to scalability.

211
00:16:25.360 --> 00:16:32.760
<v Noah Labhart>And perhaps when people think about encryption, maybe they think it's intensive as far as the calculation, or it can be.

212
00:16:32.760 --> 00:16:36.240
<v Noah Labhart>So tell me about how you're approaching that at Zama.

213
00:16:36.320 --> 00:16:39.220
<v Noah Labhart>Have there been interesting areas where you've had to fight it as you've grown?

214
00:16:40.420 --> 00:16:42.320
<v Nigel Smart>So encryption can be very slow.

215
00:16:42.680 --> 00:16:43.820
<v Nigel Smart>It can be very slow.

216
00:16:43.880 --> 00:16:45.260
<v Nigel Smart>In the past, it was very slow.

217
00:16:45.360 --> 00:16:51.220
<v Nigel Smart>I remember the first browsers in the early days of the internet would take ages to do encryption.

218
00:16:51.380 --> 00:16:52.520
<v Nigel Smart>So it was a real problem.

219
00:16:52.680 --> 00:16:56.420
<v Nigel Smart>And in those days, people, especially on the servers, if you were running a website,

220
00:16:56.640 --> 00:16:59.340
<v Nigel Smart>you would have hardware acceleration on your website

221
00:16:59.340 --> 00:17:01.680
<v Nigel Smart>because that's the only way you could deal with the security.

222
00:17:02.760 --> 00:17:10.260
<v Nigel Smart>As time has gone on, that's no longer needed for the kind of encryption that we use on the internet today, like TLS.

223
00:17:10.500 --> 00:17:12.720
<v Nigel Smart>We don't really need a lot of hardware acceleration.

224
00:17:13.120 --> 00:17:17.200
<v Nigel Smart>However, homomorphic encryption is a whole different kettle of fish.

225
00:17:17.360 --> 00:17:21.540
<v Nigel Smart>It's really slow in comparison to normal encryption methods.

226
00:17:21.800 --> 00:17:24.780
<v Nigel Smart>So we need a lot of performance improvement.

227
00:17:26.140 --> 00:17:30.360
<v Nigel Smart>So we have a number of ways of achieving those performance improvements.

228
00:17:30.360 --> 00:17:34.740
<v Nigel Smart>You can improve the performance by improving the algorithms, improving the math.

229
00:17:35.360 --> 00:17:38.740
<v Nigel Smart>So that's why we employ a lot of mathematicians to improve the math.

230
00:17:38.960 --> 00:17:44.600
<v Nigel Smart>We also need having performance improvements actually in the implementation of that math,

231
00:17:44.780 --> 00:17:51.320
<v Nigel Smart>which is why we employ a lot of computer scientists with deep expertise of how you implement stuff in Rust or whatever.

232
00:17:51.860 --> 00:18:00.140
<v Nigel Smart>And then there's how do you convert a problem instance into the best way of implementing it?

233
00:18:00.360 --> 00:18:03.320
<v Nigel Smart>That's actually, in some sense, that's like a compiler expertise.

234
00:18:03.480 --> 00:18:08.960
<v Nigel Smart>So it's why we have compiler expertise to build homomorphic encryption compilers,

235
00:18:09.060 --> 00:18:12.580
<v Nigel Smart>which take a user's thing they want to do

236
00:18:12.580 --> 00:18:16.680
<v Nigel Smart>and then work out what's the best way to do that using homomorphic encryption.

237
00:18:16.860 --> 00:18:18.220
<v Nigel Smart>That's essentially a compiler problem.

238
00:18:18.820 --> 00:18:22.380
<v Nigel Smart>We can get performance improvements by using special hardware.

239
00:18:22.520 --> 00:18:25.620
<v Nigel Smart>So we have expertise in GPU acceleration.

240
00:18:25.620 --> 00:18:32.840
<v Nigel Smart>acceleration and as i said we also have expertise in hardware acceleration so that's building

241
00:18:32.840 --> 00:18:39.940
<v Nigel Smart>accelerators based on fpgas or eventually asics it turns out there's a bunch of companies around

242
00:18:39.940 --> 00:18:47.400
<v Nigel Smart>in the ecosystem that are also building hardware accelerators for fhe whether they be fpga or asic

243
00:18:47.400 --> 00:18:53.640
<v Nigel Smart>based and so we're also partnering with those companies to make sure that their products

244
00:18:56.220 --> 00:19:09.660
<v Nigel Smart>On the compiler side, we're also working closely with Google, who have a compiler called the HEIR Compiler based on MLIR, which is also working closely with our products.

245
00:19:09.820 --> 00:19:16.940
<v Nigel Smart>So we're working with partners to accelerate, having our own stuff to accelerate, and just having a lot of expertise around.

246
00:19:17.100 --> 00:19:18.680
<v Nigel Smart>But there's lots of points where we can accelerate.

247
00:19:20.540 --> 00:19:26.280
<v Noah Labhart>when you step out on the balcony you look across all that you and the team have built at zama what

248
00:19:26.280 --> 00:19:28.640
<v Noah Labhart>are you most proud of personally

249
00:19:28.640 --> 00:19:33.660
<v Nigel Smart>the team is it really it really works well it's got a huge number

250
00:19:33.660 --> 00:19:39.660
<v Nigel Smart>of expertise in different fields it's not i'm not just talking on the technical side we have

251
00:19:39.660 --> 00:19:46.140
<v Nigel Smart>a great marketing and pr stuff we put on events at conferences and other companies put on events

252
00:19:46.140 --> 00:19:48.860
<v Nigel Smart>and always people are talking about the Zama event.

253
00:19:49.000 --> 00:19:51.120
<v Nigel Smart>So it's just not just, it's the technical side,

254
00:19:51.220 --> 00:19:54.840
<v Nigel Smart>it's also the marketing side and the engagement side.

255
00:19:55.040 --> 00:19:58.440
<v Nigel Smart>So I think it's the team, but not only just the Zama team,

256
00:19:58.540 --> 00:20:02.260
<v Nigel Smart>I think I'm also quite proud of the external team, the ecosystem.

257
00:20:02.840 --> 00:20:06.620
<v Nigel Smart>We're reaching out to academics working in universities,

258
00:20:06.840 --> 00:20:09.140
<v Nigel Smart>researchers working in research institutes.

259
00:20:09.240 --> 00:20:15.100
<v Nigel Smart>We've created an ecosystem which kind of supports FHE in general.

260
00:20:16.140 --> 00:20:19.420
<v Nigel Smart>That ecosystem also includes the team of partner organizations.

261
00:20:19.460 --> 00:20:23.600
<v Nigel Smart>Like I said, the hardware vendors, the people in Google building compilers,

262
00:20:23.600 --> 00:20:27.800
<v Nigel Smart>the people in other companies building other things as part of the FHE ecosystem.

263
00:20:29.040 --> 00:20:30.080
<v Nigel Smart>That whole team.

264
00:20:30.160 --> 00:20:32.500
<v Nigel Smart>So it's not just the Zama team, it's the wider team as well.

265
00:20:32.800 --> 00:20:34.440
<v Nigel Smart>That's a really great achievement.

266
00:20:36.300 --> 00:20:38.320
<v Noah Labhart>Okay, let's flip the script a little bit.

267
00:20:38.440 --> 00:20:42.120
<v Noah Labhart>Tell me about a mistake you made and how you and your team responded to it.

268
00:20:42.840 --> 00:20:45.060
<v Nigel Smart>So I wouldn't say a mistake.

269
00:20:46.140 --> 00:20:47.840
<v Nigel Smart>There are dead ends you go down.

270
00:20:48.560 --> 00:20:53.360
<v Nigel Smart>With any technology like this, there are various choices you can make.

271
00:20:53.560 --> 00:20:56.120
<v Nigel Smart>And sometimes those choices lead to dead ends.

272
00:20:56.320 --> 00:21:08.020
<v Nigel Smart>And so an issue is to identify those dead ends quickly and not spend too long going down that path to the dead end to try and identify what the blockage is.

273
00:21:08.700 --> 00:21:10.620
<v Nigel Smart>It might not be that obvious.

274
00:21:10.620 --> 00:21:17.980
<v Nigel Smart>So as I said, we're pulling together a lot of skill sets and a lot of different components in a very complex system.

275
00:21:18.200 --> 00:21:23.540
<v Nigel Smart>So there's lots of different bits of math that have to work together, lots of different bits of cryptography that have to work together.

276
00:21:23.720 --> 00:21:26.660
<v Nigel Smart>And sometimes they might not actually dovetail together very well.

277
00:21:26.760 --> 00:21:30.080
<v Nigel Smart>So it's managing, oh my God, we've got this huge design space.

278
00:21:30.300 --> 00:21:31.800
<v Nigel Smart>How the hell do we explore it?

279
00:21:31.920 --> 00:21:35.160
<v Nigel Smart>And when we go down a path, actually we get to a dead end.

280
00:21:35.240 --> 00:21:36.100
<v Nigel Smart>Do we keep going?

281
00:21:36.100 --> 00:21:39.260
<v Nigel Smart>Do we hit our head against the brick wall at the end of the alleyway?

282
00:21:39.320 --> 00:21:42.480
<v Nigel Smart>Or do we just turn around, walk back, and then try a different alleyway?

283
00:21:44.580 --> 00:21:48.860
<v Noah Labhart>Well, what does the future look like for Zama, the product, and for your team?

284
00:21:49.940 --> 00:21:53.440
<v Nigel Smart>We're going to be expanding into the blockchain space.

285
00:21:53.720 --> 00:21:59.240
<v Nigel Smart>We've got a number of partners who are going to be launching products in early 2025.

286
00:21:59.500 --> 00:22:02.600
<v Nigel Smart>So the live parts of the blockchain ecosystem,

287
00:22:02.600 --> 00:22:09.160
<v Nigel Smart>system, we're going to be using Zama products from 2025 onwards. And then the question is building that

288
00:22:09.160 --> 00:22:15.820
<v Nigel Smart>out so building out within the blockchain space once we've done that or as we're doing that we're

289
00:22:15.820 --> 00:22:21.660
<v Nigel Smart>actually looking at traditional financial applications where we can use the same technology

290
00:22:22.320 --> 00:22:27.660
<v Nigel Smart>so 30 years ago yeah exactly almost 30 years ago the internet came along 1994 yeah

291
00:22:28.360 --> 00:22:31.300
<v Nigel Smart>Originally, the internet had no security because no one cared about security.

292
00:22:31.640 --> 00:22:36.020
<v Nigel Smart>And then suddenly, we have a little bit of encryption goes on.

293
00:22:36.140 --> 00:22:39.140
<v Nigel Smart>In the first time, it was to encrypt credit card numbers around.

294
00:22:39.360 --> 00:22:42.020
<v Nigel Smart>So we could just do a little bit of encryption to do a little bit of banking,

295
00:22:42.280 --> 00:22:43.880
<v Nigel Smart>a little bit of ordering online.

296
00:22:44.500 --> 00:22:51.260
<v Nigel Smart>But now, when you go to every single website, it says HTTPS at the very top of the website.

297
00:22:51.520 --> 00:22:55.440
<v Nigel Smart>And that says your communication with this website is secure.

298
00:22:55.440 --> 00:23:01.360
<v Nigel Smart>and it's encrypted by default and everything is secure by default okay so that's where we've got

299
00:23:01.360 --> 00:23:06.940
<v Nigel Smart>to after 30 years of the internet but a lot of stuff on the internet and a lot of data not just

300
00:23:06.940 --> 00:23:11.860
<v Nigel Smart>on the internet but just in computing in general is not encrypted you always see these things about

301
00:23:11.860 --> 00:23:17.620
<v Nigel Smart>data breaches and why do we have data breaches is because companies need to store data in the

302
00:23:17.620 --> 00:23:22.980
<v Nigel Smart>clear because they need to process that data you have a database you store the database encrypted

303
00:23:22.980 --> 00:23:25.420
<v Nigel Smart>but then when you want to process it, you decrypt it.

304
00:23:25.720 --> 00:23:30.480
<v Nigel Smart>Now, wouldn't it be great if all of that data was encrypted all of the time?

305
00:23:31.160 --> 00:23:36.660
<v Nigel Smart>And so in some sense, the long-term vision is to take all of the data and encrypt it

306
00:23:36.660 --> 00:23:40.260
<v Nigel Smart>so it's encrypted all of the time, even whilst it's being processed.

307
00:23:40.720 --> 00:23:45.000
<v Nigel Smart>So in some sense, we've gone from HTTP to HTTPS.

308
00:23:45.280 --> 00:23:49.800
<v Nigel Smart>So in some sense, we're trying to create something like HTTPZ,

309
00:23:49.800 --> 00:23:56.080
<v Nigel Smart>Zed, the Zama HTTP, where all data is encrypted. And then we don't have to worry about data

310
00:23:56.080 --> 00:24:02.540
<v Nigel Smart>breaches again. We don't have to worry about privacy because all of our data is private by

311
00:24:02.540 --> 00:24:04.180
<v Nigel Smart>default because it's encrypted by default.

312
00:24:05.660 --> 00:24:08.400
<v Noah Labhart>Let's switch to you, Nigel. Who influences

313
00:24:08.400 --> 00:24:13.100
<v Noah Labhart>the way that you work? Name a person or many persons or something you look up to and why.

314
00:24:14.620 --> 00:24:20.240
<v Nigel Smart>A very early influence of mine was a guy called Scott Vanstone, who died a few years ago.

315
00:24:20.600 --> 00:24:29.740
<v Nigel Smart>Scott was a mathematician in Canada, and he founded a company called Certicom, which developed elliptic curve cryptography.

316
00:24:29.920 --> 00:24:34.580
<v Nigel Smart>Which elliptic curve cryptography is the cryptography you use by default now on the internet.

317
00:24:34.660 --> 00:24:38.300
<v Nigel Smart>You use it on your website, you use it on your mobile phone, it's everywhere.

318
00:24:38.300 --> 00:25:02.720
<v Nigel Smart>But when Scott Vanstone was creating this technology, it was back in the early 1990s, and no one was using it. Everyone was using other stuff at that point. So Scott was a visionary. He was a mathematician by training, and he set up a company called Certicom, which tried to promote this tech. And now this tech is used everywhere. And Scott was a very early influence on my development as a cryptographer.

319
00:25:03.760 --> 00:25:21.440
<v Noah Labhart>Nigel, last question. So you're getting on a plane and you're sitting next to a young entrepreneur who's built the next big thing. They're jazzed about it. They can't wait to show it off to the world and can't wait to show it off to you right there on the plane. What advice to give this person having gone down this road a bit several times and advised folks that are doing the same thing? Tell me what you would say.

320
00:25:21.440 --> 00:25:22.480
<v Noah Labhart>i

321
00:25:22.480 --> 00:25:28.620
<v Nigel Smart>came from academia and so it's the same question you ask students when they're trying

322
00:25:28.620 --> 00:25:33.180
<v Nigel Smart>to explain something to you or when you're going to a conference and you've got a lot of boring

323
00:25:33.180 --> 00:25:39.820
<v Nigel Smart>talks in front of me the one question you've got to answer very quickly is why should i give a shit

324
00:25:39.820 --> 00:25:46.420
<v Nigel Smart>because basically there's so many things out there that are competing for people's time and

325
00:25:46.420 --> 00:25:51.900
<v Nigel Smart>attention or investment dollars their dollars in terms of what products they're going to buy

326
00:25:51.900 --> 00:25:56.440
<v Nigel Smart>all the improvements they're going to make if you're in a company what you've got lots of

327
00:25:56.440 --> 00:26:01.500
<v Nigel Smart>companies startups coming to you going use my new shiny whizzy thing it's better than

328
00:26:01.500 --> 00:26:06.500
<v Nigel Smart>no other company shiny whizzy our of this is basically tell me why i should give a shit

329
00:26:06.500 --> 00:26:11.560
<v Nigel Smart>and if you can answer that question quickly and i think you're halfway later what is the problem

330
00:26:11.560 --> 00:26:15.880
<v Nigel Smart>problem you're trying to solve and why is it a problem to me? Why should I care?

331
00:26:16.080 --> 00:26:21.100
<v Noah Labhart>I think that's a fantastic question and a great piece of advice to lead them down towards

332
00:26:21.100 --> 00:26:25.080
<v Noah Labhart>why should they care? Why should you care? And why should anyone care? Well,

333
00:26:25.160 --> 00:26:29.180
<v Noah Labhart>I appreciate you being on the show. Nigel, thank you for telling the creation story of Zama.

334
00:26:29.560 --> 00:26:30.060
<v Noah Labhart>Thank

335
00:26:30.000 --> 00:26:30.500
<v Nigel Smart>you very much.

336
00:26:32.140 --> 00:26:34.860
<v Noah Labhart>And this concludes another chapter of Code Story.

337
00:26:40.660 --> 00:26:43.800
<v Noah Labhart>Code Story is hosted and produced by Noah Labhart.

338
00:26:43.940 --> 00:26:48.720
<v Noah Labhart>Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice.

339
00:26:49.320 --> 00:26:51.540
<v Noah Labhart>And when you get a chance, leave us a review.

340
00:26:51.840 --> 00:26:53.860
<v Noah Labhart>Both things help us out tremendously.

341
00:26:56.660 --> 00:26:58.160
<v Noah Labhart>And thanks again for listening.
