[ETH Seoul 2025] What is iO and its application (indistinguishability obfuscation)
ETH Seoul 2025 · April 2025 · 17:53
Pia Park of Machina iO, supported by the Privacy and Scaling Explorations team, explains indistinguishability obfuscation and why it could make trustless applications truly trustless. Using a Bitcoin and Ethereum bridge as the running example, the talk contrasts threshold and multi-party computation approaches with an obfuscated program that hides a key. It covers the Diamond iO construction, its end-to-end implementation and the work still needed on input size and circuit complexity.
Speakers
Topics
From ETH Seoul 2025, hosted by Kryptoplanet.
Transcript
[Music] [Applause] So hello everyone my name is Pia. Uh so today I'm going to talk about like IO and its application. I'm working with the Makina IO which is the one of the new project that research and engineering on the IO which is indistinguishability ofation uh supported by the PSC EF. So let's start from here like you might heard of some trustless applications like Bitcoin and Ethereum bridge or like encrypted meos or like private voting private auctions ZKTLS but I like to emphasize that is this
actually a trustless most of them are relying on the security where is like threshold based like in threshold based cryptography which is usually implemented by the multi-party computation or like multi E Fe um luckily we actually have a theoretical solution for this which is indistinguishability ofiscation. So you might then rise a question about like why this is a problem like how this like indistinguishable offiscation can solve this.
So today I'd like to talk about like start from limitation of current trustless application and what is actually a IO and what can be the application of this IO can unlock and our contribution and the progress on the Machina IO. Okay. So let's start from this example. This is in one of the application that I mentioned before about Bitcoin and Ethereum bridge. And I'm going to like dive deep into like this example to like show you what is the current limitation and what is IIO can do differently. So start from the notation. This guy red guy is the adversary who can do the malicious stuff. Like for example
malicious stuff means if they obtain a bitcoin key they can just withdraw the like fund from the wallet without any like restriction or like policy or rules that following this bitcoin and ether bridge. Um the the the green the blue guy is the honest party which is will do the expected behavior when they obtain a key. They will basically check if the user actually holds a proof of with burn the the WBTC on the Ethereum and then use this key to generate the signature to do the transaction and this is just a key and you can make a transaction and you can withdraw the fund easy. This is
the notation of a like bitcoin and etherum bridge. So the traditional approach is a multi-party computation which this key is as you can see very like important because you can just generate a signature and you can just make a transaction out of it. So current like previously we divide this key into the multiple pieces and then we distribute this to the multiple parties. But actually this part is we don't know whether this will be behaved like maliciously or honestly. Um what does this like problem like let's say all the uh pieces are grabbed by the malicious parties then basically you could retrieve this bitcoin and
etherum bridge will be no longer like sound anymore. this malicious parties can just call like generate a signature and then withdraw the bitcoin without restriction. Um you might ask a question what if we just increase the number of the the number of key distribution or what if we just increase the threshold. The issue of the multi-party computation is basically when you want to do the computation at the same time the other parties of the threshold should stay online. This is the livveness assumption of the multi-party computation which basically makes this application very inefficient if the threshold side is small enough large enough.
Uh yeah so this is the offiscation can fix this. So like basically from the example that we just talked about Bitcoin and Ethereum bridge offiscation, you just make a program that hides the key inside of it and get the proof of the Ethereum like Ethereum's burning transaction and check if it actually burn on the Ethereum side and then generate the signature and then uh make a transaction for Bitcoin withdrawal. This is maybe like little bit confusing for now. I'll I'll like I'll explain it like multiple times with the same example. So don't worries. And the cool part of the offiscation is that even
though you the adversary grab the whole offiscated program, they cannot even no longer like do the malicious activity. So okay, what is offiscation? Uh this is a general definition of a offiscation where you could just imagine it as a program compiler. Let's say there's a original program P like on the previous example we talked about like Bitcoin Ethereum like bridge program and offiscation is you compile this program into some offiscated program where you cannot see the internal logic inside.
However, it behaves exactly same as the original program P. So when you insert the input X, you would always get the same output whether this is CX or like offiscated CX. It's clear, right? But here's the useful thing. This is the useful mental model of the offiscation that like you might wonder like why offiscating a program is actually useful like where people can use it. So this is a keybased offiscation where in machina IO like our scheme is kind of relying on but this is very simplified uh interface.
The offiscation includes like the the full scheme includes a two-step. One is the offiscation step which basically you yeah basically you have a you your program have a public function f that inside there's a secret key k that only exist on the offiscator side and then basically offiscator offiscates this and then obtain this c tild which is offiscated program and this offiscated program can be fully public And then you can just like publish on the ethereum like you can publish on like some very public places and then offiscator can totally disappear. This process is very
like totally non-interactive where offiscator and evaluator will not interact at all. Okay. The next step evaluation evaluator grab the obtain the offiscated program which is cil because it's a public you can just download it anywhere and then basically evaluator provide their own arbitrary input x for the program and then they evaluate and then what they can obtain is f evaluated over the secret k and x. However, they still have no idea about what this K is looks like. If you're a little bit familiar with the cryptography, this is kind of a similar idea with the
functional encryption actually. However and and also the one of the cool part is that this two step is totally non-interactive and also this evaluation step is binded to the F which is distinguishable point with the FHE where when you evaluate stuff in FHE you cannot like ensure that the evaluator is actually evaluate over this specific function where IO scheme you're very binded to the f okay so this is a little bit technical. I'll now I'll now go back to the like previous example and connect this skit together. So within this mental model useful mental model of
offiscation using keybased offiscation, you can just now recap this bitcoin and etherum bridge example where the public function f is a conditional signature program. Basically what this program will behave is that if the given proof like given input X is uh contains the proof of burning the WBTC on the Ethereum because when you are bridging stuff you first have to like burn it and then you can redeem it right so you really make sure that this is valid and then they can generate the signature this function is generating a signature if this proof is valid and this will withdraw the Bitcoin from the hardcoded
like from the Bitcoin wallet and still the evaluator because the CTO is totally offiscated even though they're using this function even though by providing their arbitrary input which is proof they have no idea about original bitcoin secret key. Uh this is very useful right because you can just publish the program that uh contains the key where you have no idea about the key but everyone else can just use it downloaded from the public.
Um yeah this is the offiscated uh mark so the evaluator cannot see like the the K looks like. Okay so what are the applications out there? Um basically the key idea um like key idea of a offiscation can unlock is you can encode the specific like secret data within the specific secret program and allows others to use it without any interaction. And the the example that we take a look at right before the bitcoin ethering bridge this specific secret can be like bitcoin key or like key and the specific program can be like conditional
like signature like function and the you who are the offiscating person is a offiscator and others is the evaluator. So I hope this dots got connected and then yeah so basically you can do like private non-interactive computation where like secret is hardcoded and anyone else can like execute the program which is makes the trustless applications become really trustless without any reliance of the security assumption of a like threshold based based cryptography that we talked just now.
So yeah this this idea is super cool basically um you might saw this blog post the vitalics like etherum possible future in here there's like a three card which is zk snark fat and then offiscation um with this like a huge component like IO can take a part of the etherum like road map in the critical like parts however of course this is not just like a magic sword like like to achieve very hard thing you need to have a you need like basically it's like super hard so that it can it can have a very powerful like feature. So these are the comments on the IO like many people are doubting about like is it actually real? It seems
too good to be true like like like is some people are like too difficult so that like they just like they just abandon it for a while. So now is our contribution part where we in the machinio uh Sora, Enrio and Pia are trying to move this IO uh which is super cool to from the theory to the practice and we published papers and the Ryzen code. So first we actually suggested the published the straightforward IO construction uh diamond IO at the this year February and second we actually competed completed the end to end implementation
of this diamond IO construction scheme with the secret par uh with the secure parameters and this is the like uh some ideas that how much we we we achieved D from the existing uh existing state-of-the-art result which is previously people this based on this paper from the offiscation to evaluation it took more than like 10^ 27 years to in our like sufficiently secure parameter on the current uh current repo test it takes less than a one hour for the offiscation to evaluation.
Um yeah but uh still we have a lot of challenge to be solved like for example our like latest test success is around one input bit with the uh 60 end gates. um which ideally just like how much the ZK come from doc theory to right now as a production um we also want to make this IO very practical so that people can unlock this like multiple trustless application into actually trustless so these are the two goals that we are focusing on like first is we want to make the input size larger so that ideally at least we want to accept the 10 kilobyte of the input of the circuit
Why tell 10 kilobyte is we want to accept the zk snark as a proof so that we can extend this IO to the arbitrary other computation like f or like like ML. Um and the second is like generally we want to make this uh circuit logic more complex but still practical as possible. Yep. Okay. So here's is something that I prepared so far. Um I prepared some Q&A slide in case if anyone have a question.
Thank you. So the first question was if there is anywhere I could find a presentation uh and the second one because I missed a lot uh and joined late uh but is it based on garbled circuits and oblivious transfer uh is it the concept of ofcation under it? So the offiscation is a general definition and just like uh the zikk snark can also rely on like like different uh security assumptions or the implementation IO can also like implemented in various way and in our approach we actually used the fat
and bg encoding uh we use this approach for uh implementing our IO construction not the gar circuit or the MPC1 so like there might be potentially uh there's could be other constructions that can base on what you mentioned but in our case is no okay yeah um thank you and with regards to the first question is there any way anywhere I could find the presentation I'm not a event organizer but I would like to share the presentation in public. Maybe I can post on the Twitter.
Um yeah, sure. Yes. Thank you. Uh Twitter or the some group chat. Uh um yeah, that would be great. Yeah. Okay. Uh, where can I find the GitHub that you featured in the presentation? It's a open source. You can just search diamond io. Okay. We haven't announced it yet because actually the end to end test with the secure parameter was not passing up to five hours ago and we actually make it happen today. So I edit
the slide at the last moment. Uh so basically that's the reason why we haven't announced the GitHub yet. But we'll we'll also like we prepare a very like a detailed tutorial or the zero to her version of IO as well on our like blog post. So yeah, I hope we can share more and follow the Machina IO on Twitter. I actually haven't added anyone anything on the slide but yeah. Yeah. Yeah, thank you. Congrats on the test passing. Thank you.
Uh so yeah, thank you for listening and uh more question reach out. Yeah. [Music]
Related talks
- Safeguarding Zero-Knowledge Proofs from Cryptographic Exploits
- Lev Stambler - Distributed Systems Made Faster via Quantum Internet
- Algebraic Geometry for SNARKs
- Taking MPC to internet scale
- Building Secure Contracts: Use Echidna Like a Pro | Devcon Bogotá
- Lit Protocol 🛠️ A Decentralized Key Management Network
- ZK Security with Starkware and Aztec Founders
- Unifying Succinct Arguments
- Ethena Cryptanalysis, BLAKE3 Tweak
