rkm0959
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # 1/12: MPC Definitions / Problems Collection - chapter 23 of https://toc.cryptobook.us/book.pdf - the book https://www.cs.virginia.edu/~evans/pragmaticmpc/pragmaticmpc.pdf thanks to cryptohack discord for sending me resources below - https://nigelsmart.github.io/SCALE/ - https://github.com/rdragos/awesome-mpc ## Key Definitions The intuitive setting - is that there are $n$ parties each with input $x_1, x_2, \cdots, x_n$ and a public function $f$. These $n$ parties want to work together to compute $y = f(x_1, \cdots, x_n)$, but they want to reveal nothing about their inputs $x_i$ except the information that is trivially revealed due to the output $y$. In this scenario, there's some desirable properties we can define. ### Properties - privacy: as mentioned, other parties do not know anything about $x_i$ except the information directly revealed by the output $y$ (e.g. consider $f(x_1, x_2) = x_1 + x_2$) - soundness: honest parties compute correct outputs - input independence: all parties choose their inputs independent from other inputs - guaranteed output delievery: honest parties are guaranteed to obtain output - fairness: if any party obtains an output, all honest parties do where the latter two are a bit more optional than the previous three. ### Communication Such protocols need to deal with communications between parties. - Synchronous: message between honest parties will be delivered in a fixed amount of time - Asynchronous: messages may be arbitrarily delayed - Secure point-to-point communication channels are used (authenticated encryption) ### Attack/Corruption Models - malicious security: corrupt parties behave arbitrarily adversarily - static: corrupted parties are fixed at the very beginning - adaptive: adversaries use an adaptive strategy - honest-but-curious adversaries: faithfully follow the protocol, but leak their internal state - also called "semi-honest security" ### Formal Security The precise definition of MPC is quite difficult - so more or less should be looked a bit later after studying some problems and constructions first - but some keywords. - Real/Ideal Paradigm - ideal world is where a trusted party is used - so each party, honest or corrupt, submits the input to the trusted party, and the protocol is ran by the trusted party - so a protocol is secure when an attack on the "real world" also works on the "ideal world" - and we prove this similar to the ZK-ness proof, by providing a *simulator* on the "ideal world" that provides the views of the "real world adversary", in a manner in which the two distributions are computationally indistinguishable - Universal Composability For a concrete look into the definitions, Chapter 23.5 of the big book works as an intro. The Chapter 2 of the pragmatic MPC book also has some nice explanations as well. ## Problems to Look ### General Purpose MPC This is the most general format: we aim to do MPC for general function $f$. The current reading list looks as follows. First, the fundamentals. - Beaver's Protocol - Garbled Circuits and their extensions/improvements from both books seems to be must-read. Then, there are more "recent" papers - BDOZ (https://eprint.iacr.org/2010/514.pdf) - SPDZ (https://eprint.iacr.org/2011/535.pdf) - https://eprint.iacr.org/2012/642.pdf - https://eprint.iacr.org/2015/523.pdf - https://eprint.iacr.org/2017/1230.pdf - https://eprint.iacr.org/2018/482.pdf - https://eprint.iacr.org/2019/599.pdf - https://eprint.iacr.org/2020/521.pdf ### Yao's Millionare Problem This one aims to simply compare two inputs. - https://eprint.iacr.org/2005/043.pdf - https://www.win.tue.nl/~berry/papers/pkc07intcomp.pdf - https://iacr.org/archive/pkc2007/44500343/44500343.pdf - https://eprint.iacr.org/2016/544.pdf - https://eprint.iacr.org/2020/1002.pdf ### Oblivious Transfer The first participant has $x_1, \cdots, x_n$, the other has the index $k$, and the output is $x_k$, but the first participant should not know the index $k$. There is 1-out-of-$n$, $k$-out-of-$n$ and such. - https://dl.acm.org/doi/pdf/10.1145/301250.301312 - https://link.springer.com/content/pdf/10.1007/3-540-45664-3_11.pdf - https://ir.nctu.edu.tw/bitstream/11536/27052/1/000188196400010.pdf - https://eprint.iacr.org/2013/552.pdf - https://eprint.iacr.org/2015/267.pdf - https://eprint.iacr.org/2016/799.pdf - https://eprint.iacr.org/2016/933.pdf - https://eprint.iacr.org/2019/414.pdf - https://dl.acm.org/doi/pdf/10.1145/3503045 ### Private Set Intersection Two participants have a set, wish to compute intersection. - https://eprint.iacr.org/2015/634.pdf - https://eprint.iacr.org/2016/930.pdf - https://eprint.iacr.org/2017/299.pdf - https://eprint.iacr.org/2017/1064.pdf - https://eprint.iacr.org/2018/120.pdf - https://eprint.iacr.org/2019/634.pdf - https://eprint.iacr.org/2020/729.pdf - https://eprint.iacr.org/2021/122.pdf ### Multiparty ECDSA / Schnorr Compute a signature via multiparty signature with each party having key shares - https://eprint.iacr.org/2019/114.pdf - https://eprint.iacr.org/2020/540.pdf - https://eprint.iacr.org/2021/060.pdf - https://eprint.iacr.org/2022/374.pdf ### MPC-in-the-head MPC related ideas to ZKP, signatures, and etc. - https://web.cs.ucla.edu/~rafail/PUBLIC/77.pdf - https://eprint.iacr.org/2016/687.pdf - https://eprint.iacr.org/2018/475.pdf - https://eprint.iacr.org/2019/532.pdf - https://eprint.iacr.org/2021/068.pdf - https://eprint.iacr.org/2021/692.pdf - https://eprint.iacr.org/2022/588.pdf ### Others (TBD) Private Information Retrieval, Private Function Evaluation, etc

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully