📜 [專欄新文章] Using MPC to Help Achieve Blockchain Privacy
✍️ Yahsin Huang
📥 歡迎投稿: https://medium.com/taipei-ethereum-meetup #徵技術分享文 #使用心得 #教學文 #medium
This post answers some of the most commonly asked questions about using multi-party computation (MPC) in blockchains.
What is MPC?
Multi-party computation (MPC) is a cryptographic protocol that does a joint computation involving multiple parties over their inputs while keeping those inputs private.
A famous example of MPC is Yao’s Millionaires Problem. Two millionaires want to know who is richer without finding out information about each other’s actual wealth. Naively they can simply tell their wealth to a third party. Then the third party compares their wealth and lets them know who is richer. But then this option is undesirable because the third party learns the information of their wealth.
The challenge of Yao’s Millionaires Problem is the computation wouldn’t be able to have a result without the two parties’ private information. To get the end result, you need those information involved in the computation. But at the same time, you are not allowed to reveal those private information to the party who performs the computation. That’s the main problem that MPC wants to solve.
Why it matters in blockchain?
In the real world, not everyone’s a millionaire. Not everybody wishes to compare their assets and wealth with others. In the blockchain space, there’s a need to ensure the inputs are shielded from multiple parties for privacy purposes; hence, the need for MPC protocols.
If we look at the current landscape of the blockchain world, notice there are blockchains doing great for programmability, such as Ethereum blockchain, allowing developers to build great tools and applications on top of them. There are also blockchains doing great for privacy, such as ZCash blockchain, allowing users to send transactions in a privacy-preserving way.
However, there’s a lack of blockchains that are designed for maximum programmability with maximum privacy. That’s why a lot of folks are pushing forward the work on incorporating MPC protocols into blockchain designs.
Why ZK is not enough?
Zero Knowledge Proofs (ZKP) is great at shielding private information that involves only one party. ZKP alone cannot be applied to provide privacy in multiple-party settings, such as auctions or in the case of Yao’s Millionaires Problem. In those settings, computations would involve private inputs from multiple parties, and so ZKP wouldn’t be enough. We would need to turn to MPC to achieve that.
Recent developments in MPC
In his presentation “MPC as a Blockchain Confidentiality Layer,” Miller gave a high-level overview of how MPC can be viewed as a confidentiality layer for blockchains as illustrated in the slide. Credit: https://youtu.be/0VuBELYfChM
How does MPC work with blockchains?
HoneyBadgerMPC builds a sidechain that performs MPC protocol computation. The sidechain acts as a confidentiality layer to the public blockchain, where secret data is stored.
How can developers build MPC applications?
Developers are able to develop MPC applications with Ratel language. Writing Ratel feels very similar to writing Solidity contracts. The compiler compiles Ratel code into two parts: the Ethereum part, and the MPC as a sidechain part.
Ratel code looks like this: https://github.com/initc3/HoneyBadgerSwap/blob/coconut/ratel/trade.rl
Learn more about MPC as a sidechain
One of the biggest news this past month was you could now play with HoneyBadgerSwap’s demo website. HoneyBadgerSwap is basically a dark pool version of Uniswap using MPC. You will need some Kovan ETH to test it out. Yunqi Li (UIUC, IC3) made a great Medium story about HoneyBadgerSwap. Read it here: “HoneyBadgerSwap: Making MPC as a Sidechain,” published on April 22, 2021.
Watch a really great talk by Andrew Miller “MPC as a Blockchain Confidentiality Layer,” presented at the IC3 Blockchain Camp 2020, to understand the HoneyBadgerMPC protocol more.
If you are someone who would like to delve into the topic with textbooks, be sure to add the book “A Pragmatic Introduction to Secure Multi-Party Computation” to your reading list. The content is available in PDF.
Using MPC to Help Achieve Blockchain Privacy was originally published in Taipei Ethereum Meetup on Medium, where people are continuing the conversation by highlighting and responding to this story.
👏 歡迎轉載分享鼓掌
pragmatic play 在 Facebook 的最讚貼文
[MK仔]見工。冇得撈唔好咁揀擇。「有手有腳唔會餓死」「唔介意放低身段」。況且,冇糧出畀你?who the fuck are you ?in mud 柒 position you talk about your 身段?撈波啲care喎。ego大過馬撚就好易出事。我就好pragmatic,你出夠糧日日屌我都得的,反正Facebook Page啲友一個仙都唔畀都照做,你肯畀錢我仲唔係皇恩浩蕩?
咁但當然,Patreon同勞蘇基金都繼續啦。why not both ? Or all three三個一齊來?Cookies 4 Play。當然最後係會不相容嘅,但,拎晒上手先算。maximise your option ,你揀人好過人揀你,莫道你在屌柒人人亦能屌柒你。
好似好好火。其實只係因為杯凍奶茶由我離開屯門去到太子都未出現!我點知?因為埃汾太話我知,到嗰時我已經在太子。係喎,我食埋餐蛋治等咗陣未未到走先,坐58x去到太子杯嘢先到。你可以計下幾耐
話時話:最近十幾廿年冇聽過有人在茶餐廳講「快馬」,係咪失傳了?我估而家係禁語,你一講實畀人加料。「趕時間去茶餐廳!」(我咪在茶餐廳)
牛年比別人知得多。subscribe now.
Patreon.com/ivanliresearch
pragmatic play 在 民主進步黨 Facebook 的最佳貼文
【民主進步黨 31 週年黨慶外交使節酒會 蔡英文主席致詞全文】
(中文版本:https://goo.gl/HczWgc)
Members of the diplomatic community distinguished guests good afternoon!
Nine years ago I took the chairpersonship of the Democratic Progressive Party for the first time. As many of you may know in the same year the party had just lost the 2008 presidential election.
To rebuild the people’s trust in the DPP I launched a small-donor campaign. I asked the public for their support so that we could get back on our feet again and become a viable opposition party.
I knew regaining the public’s confidence would take time so I didn’t expect the response to come quickly. Within a month a lady who earned a living by washing dishes sent us an envelope. There was 20000 dollars and a note inside. The note said: “I ask for nothing in return but your party to safeguard the sovereignty of Taiwan”.
There were tens of thousands of people like her. They came from all walks of life generously pledging their support for the DPP. They felt strongly about the democratic values the party stood for. They believed the DPP is a force capable of moving Taiwan forward once again.
Today I am here commemorating the 31st anniversary of the DPP with you in my capacity as Taiwan’s ruling party. I am pleased to have the opportunity to say we are delivering on those expectations. We have not shied away from the momentous responsibilities placed upon us.
Since my election I have completed pension reform a task previous administrations were not able to achieve. The number of social housing throughout Taiwan is rapidly increasing. Our long-term care plan is gradually benefitting more and more seniors.
One of our most critical pieces of legislation the forward-looking infrastructure plan has passed. At the same time we are also working to reform the military the judiciary and the tax system.
Our economy is improving too. Export orders have seen 12 consecutive months of growth. GDP growth has exceeded past expectations. Following the announcement of public sector wage increases the private sector is also following suit. The unemployment rate in August was 3.76 per cent the lowest it had been in 26 months.
In addition to this we have taken steadfast and pragmatic steps to broaden Taiwan’s international space and strengthen relations with countries around the world.
Of particular importance are Taiwan’s diplomatic allies. We are grateful to the 15 countries that voiced their support for Taiwan at the UN General Assembly earlier this month. We are determined to work with all diplomatic allies in order to more effectively support their development.
For like-minded countries we are furthering trade and investment ties as well as cooperation on issues like innovation green energy and science and technology. We have kept in close communication regarding the shared security challenges in the region.
Another one of our foreign policy priorities is the New Southbound Policy. We have worked tirelessly for Taiwan to play a greater role in the region particularly in areas of trade investment education tourism and culture.
We’re seeing the dividends of such efforts. Tourism from New Southbound countries has increased by 36.7% from the year prior. Trade is up 19.39%. The number of students from these countries has also increased by almost 10%. All of this has brought Taiwan and New Southbound countries closer together.
Taiwan would not be where it is today without support from international society. The countries you represent have walked with Taiwan along our journey towards a democracy. Together we have witnessed Taiwan’s transition from a net-recipient to a contributor around the world.
Today it is undeniable that Taiwan is an active member of the international community. I’m sure that our efforts in health education human rights regional security and climate change have not gone unnoticed around the world.
In fact we recently released our very first Voluntary National Review documenting our efforts for the UN Sustainable Development Goals.
In the coming years Taiwan’s international participation will continue to face many challenges. Taiwan deserves your support so that as a partner we can contribute to a safer healthier and more prosperous global community.
I started this speech with a story of how one step at a time the DPP regained the trust and confidence of the people.
This story is also relevant for Taiwan’s international situation. Only through continued support from international society even if it is incremental can Taiwan play a greater role around the world.
We have already made our intentions clear. Taiwan is ready to work with each of your countries to create a more democratic secure and prosperous international society. I hope that you will also be willing to work with Taiwan for a better joint future.
I would like to thank you all for coming today. Let us raise our glasses to cheer for our continued friendship. Cheers! Thank you!
新聞稿全文連結:https://goo.gl/HczWgc
pragmatic play 在 Pragmatic Play Malaysia - Home | Facebook 的推薦與評價
Pragmatic Play Malaysia. 4304 likes · 53 talking about this. This is the official page of Pragmatic Play Malaysia. Follow us to get the latest updates! ... <看更多>
pragmatic play 在 Mega Wheel Live from Pragmatic Play Game Overview 的推薦與評價
Aug 12, 2020 - Join us for a tour of the upcoming live Mega Wheel release from Pragmatic Play. Click 🖱️ to read everything about the new game that comes ... ... <看更多>