BUIDL ASIA 2019 (Day 1) : Presentation by Osuke Sudo

BUIDL Asia 2019 · July 2019 · 18:25

Osuke Sudo, lead engineer at LayerX, introduces Zerochain, a privacy-protecting layer built on Substrate. The talk explains how encrypted balances using homomorphic ElGamal encryption and zk-SNARK proofs hide transfer amounts and, optionally, sender and recipient identities. It also covers the trusted setup trade-offs, auditability through decryption keys for compliance, the open-source Rust implementation and planned work such as privacy-preserving atomic exchanges.

Speakers

Topics

From BUIDL Asia 2019, hosted by Kryptoplanet.

Transcript

my opponent layer exhale lead engineer in whose cassutto a coyote - raaga Sumida cheating in zero chain a privacy protecting layer on substrate using the case-knives media so please welcome Oscar with a big round of pause hi my name is Oscar pseudo I'm an engineer in Tobruk chance place and walking at the ray X ray X is rocking startups based in Tokyo and we have several projects such as a lot of rocks that Joe's project one of them is a jail term which is I'm focusing home so I'm happy to be here to talk about their

journey they'll change the basically a privacy protecting rock jam on top of a substrate substrate itself is broke change circuit so it makes it easy to help you with build your own rock jam and the substrate is consists of the Sun substrate module system and we are providing especially as some substrate modules and some toolkit for protecting user sensitive data which refers to our own channel what is the meaning privacy in the belgian context our first goal is

providing secure and efficient Travis approach protecting a set protocol on top of substrate it means all transfer demand and each account balances and identities of sender and recipient or private so in this picture Alice and Bob had balances but those balances were encrypted so no one can see those document and in other scheme identities of Alice and Bob will be also hiding this is just a diagram a rebel overview again we are top one substrate and to

get the privacy features our protocol can be consists of memory two protocols the one is diesel which is a kind of privacy scheme and also the users which is nurse as their knowledge proving systems and on top of it a we can build a privacy we ended up vacations such as confidential and anonymous payment applications on top of the gem protocol so in this talk retinue explain about those main three component substrates geez

didja snaps or what they are and how it works the first thing I'm going to talk about what we deserve straight A's supposed right is basically a based blockchain platform or developed by 30 technologies and its memory offers some rope chain core components such as database for storing transactions peer-to-peer networking to gossip show state transitions and consensus engine for providing the coin incentive mechanism in the road to network and transaction queue etc so those component might be most complex and difficult but

when you're building your own blockchain but if you beat it on the substrate or you don't need to do just so those most complex part the most thing you need to adjust is that you just build some substrate modules and substrate 110 so these modules can be configured and runtime is also can be configured like this so branch of modules are due to the runtime like in this code and there are a bunch of modules also for example the timestamp module provides just a

timestamp in the blockchain and biases module provides managing principal asset in the virtual network and we especially providing the encrypted bounces modules for confidential payment so what we want to do is that we're going to provide the privacy scheme to the substrate and some polka dots net eco system using the the no disproving systems in this and kriti bounces modules or we especially uses

the ISA this is originally published it's a paper published by Bennett Cubans at all I think in this February and it is basically that efficient and freely centralized and confidential payment mechanism that is a compatible with smart contract platform such as SL rim and substrate the basic idea is at home fickle encryption scheme had all transparent and accountable on C's so no one can see those actual amount and it takes account based approach not you to

approach for the reason of the efficiency and the use of eighteen and it can avoid the UT extra generations and in the original visa uses a sigma bridge which is kind of the general dreaming systems and it is a modified version of the bread proof but that instead we use a GTS next for the reason of the getting the efficiency in terms of the knowledge proving computation but the statements itself in the data snacks are based on the day support code so let's have a look how it works in

this anklet encrypted virus module as I said again it takes account of based approach and home vacation scheme the wet sync the simple case that arrests and encrypted three coins to board now Alice has ten coins and Bob has five coins in the mapping structure the same as a serum but obviously those are mental public everyone can see how much the hard currently so to hide this we need to hide by some using encryption scheme so it's action scheme called if to the el-gamal encryption especially

which has homo peek property so home pick property allows us to compute as a ciphertext so iris send three coins as a transaction component into the own chain and it will be added to the bubbles encrypt the balances and subtracted it from the arrested encrypted balances so update bounces whether we Harris has seven encrypted coins and well her at encrypt the coins so in this competition in computational process doing with

encrypted so no one can see those actual amount but of course our arts can't see her own balances by using her decryption key which is kind of the her private key so this is a basic idea of how it works in the tail chain but the problem is that how broke chain nor can by date this encrypted our encrypted amount because it means a quitter amount or works actually like this just 60/40 battle so Alice need to convince

abortion not this but array is actually encrypted three amount without revealing the adjournment so in order to achieve this we use the key snacks decay snacks is one of the general public scheme and it generates some proofs that some statements actually correct under the provide is a private input so in this context first those statement visits the trance amount of it in the burrito range so the amount is not over fro not

negative amount and also eros has enough viruses a lot and it's encrypted by the correct encryption key and so on so the key snacks are all standard that all the statement is actually correct or without revealing the actual three amount so this is a usage digi snacks in the jail Chang context so let's have a rip how it works in the snacks basically the key snacks has two players the one

is River and other parties by for you and both know the public function f and public impede while and prover said oh I know the private in p2x such as f X equal Y engine generates proofs and send it to the bonfire and by Firebird Y it in the on champ so in the previous context public function f would be that amount is not overflow or not and public input X is a actual amount and public image why is encrypted amount which can be public but

in the pre-processing Gigi snacks right gross sixteen which is used in the zero Chang some parameters are need to be some parameters that need to be generated in the other bus by the tracer setup so trusted means that we need to [Music] we need to trust some authorities and prevent bonfire uses the parameters as a proving key and verifying key in order to get on your to get to make very small tiny proof size or which will be just

200 white and by fire can buy fighters proofs as a succinct earnest but why we use sticky snacks because in the original disease I used a single bread which is not needed to also set up because we want to significantly small precise and quite efficient verification in order to prove the more complex private competitions and the key snacks has a great community especially consist of the project using gels using the key

snacks and there are awesome two chains mainly developed by DPS such as pairing friendly elliptic curves and which is Knox library called Verma but again downside is a trusted cetera but this is there are some solutions I'm not going into much details here but for example multi-party computation of dunno which is done by the dish or universal and updatable service which is called sonic probing systems so as a summary sale chain protocol can be consisted of

the hybrid solutions the commenter is supported diesel which is a high-level privacy scheme and also just to chain for the basis they're not brewing systems and we are top of on substrate or which provide the corporate chain where the next thing I'm gonna I'd like to talk about is that all the way before privacy asset because for we are aware the usage for enterprising usage or old abilities are quite important aspect because we need to project from the and

money laundering order some comply with regulations so appropriate and keys should be able to audit certain users manage for all in some financier use cases in order to achieve this we prepare a bunch of key pairs and those key players have specific functionalities but in order in terms of the auditability this decryption key is a most important part because center post decryption key to some auditors auditors can decrypt

the users balances by using this decryption key but altars cannot spending users money because they don't have users spending which is a top of rep because span Yuki cannot be derived from the decryption key which is just this Allah is a one-way but on the other hand of decryption key can be derived from spending the key so this is a key component for getting the all the beauty features in their chain how is the current status of their chain our called

our project is our open source so everyone can see our implementation in order to homepage Raya XCOM start searching and all code are implemented in rust and this project has been supported by our way through Foundation grant program and you can actually send the confidential transaction to the zero channel today but it's still under the apartment for the production already or we need to get the security reviews and adding wealth optimization and making some documentation and we prepared some tools called the phase which is an interface

for interacting with searching it has a low rebel word features and some cryptographic tools you can use command line utilities based in the face tray this is also the open source so you can find in our jutsu homepage for the future works we are trying to we are doing them more interesting functionalities such as a privacy mean W and binary points was the privacy atomic exchanges and the marriages signature scheme and also we are researching some modules for right ugh so biased private

computations such as a depth FC which can be more getting the privacy guarantees but it's visa overhead is more costly and I personally implementing is a sonic which is I mentioned which is also the type of knowledge proving systems this color is also open source so you can find this you know eat raw fish yeah thank for reasoning [Applause]