HITCON
      • 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
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners 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
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Help
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
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners 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
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # Post-Quantum Cryptography - Daniel J. Bernstein, Tanja Lange {%hackmd @HITCON/r1z4zylVv %} > 從這開始 motivation one communication channels are syping on out data motivation two communication channels are modifying our data literal meaning of crytography secret writing achieves various security goals by ... cryptography with symmetric keys ... cyrptography with public keys ... alogorithms for quantum computation discrete logarithms and factoring google says it is a powerful quantum computer ... quantum computinig could end encryption within five years says google boss chinese researchers expect quantum leap in comuting challenging google's supremacy https://www.globaltimes.cn/content/1198916.shtml Algorithms for quantum computation: discrete logarithms and factoring https://ieeexplore.ieee.org/document/365700/authors#authors what are they doing secretly? who knows ... public keys turned threaded if alice and bob alreardy share long secret key k one time pad for confidentiality wegman carter mac for integrity and authenticity aes 256 standardized method to expand short secret key 256-bit k into string indistinguishable from long secret key aes introduced in 1998 by daemen and rijmen security analyzed in papers by dozens of crytanalysts no credible threat from quantum algorithms grover costs //(2^{128}//) some results assume attacker has quantum access to computation then some systems are weaker but i dont know if my laptop had turned into a quantum computer crytography under the assumption that the attacker has a quantum computer 1994 : shors quantum alorithm 1996 : grovers quantum algorithm many subsequent papers on quantum algorithms see quantumalgorithmzoo.org 2003 : daniel j bernstein introduces term post quantum crytography 2006 : first international workshop on post quantum cryptography pqcrypto 2006, 2008, 2010, 2013, 2014, 2016, 2017, 2018, 2019, (soon) 2020 2015 : nist hosts its first workshop on post quantum cryptography 2016 : nist announces a standardization project for post quantum systems 2017 : deadline for submissions to the nist competietion 2019 : second round of nist competition begins 2020 : Third round of NIST competition begins. 21 december 2017 : mist posts 69 submissions from 260 people big quake bike ... by end of 2017 : 8 out of 69 submission attacked ... guess again hk17 racoss rvb dont use them above ... by end of 2018 : 22 out of 69 submissions attacked Some less seurity than claimed;some really broken ; some attack scripts. 30 january 2019 : 26 candidates retained for second round merges for second round : hila5 ... merges for third round : classic mceliece and nts-kem national academy of sciences (us) 4 december 2018 : report on quantum computing Don't panic. "Key Finding 1 : given the current state of quantum computing and recent rates of progress itis highly unexpected that a quantum computer that can compromise rsa 2048 or comparable discrete logarithm based public key cryptosystems will be built within the next decade panic key finding 10 : even if a quantum computer that can decrypt current cryptographic ciphers is more than a decade off the hazard of such a machine is high enough and the time frame for transitioning to a new security protocol is sufficiently long and uncertain that prioritization of the development standardization and deployment of post quantum cryptography is critical for minimizing the chance of a potential security and privacy disaster in particular all encrypted data that is recorded today and stored for future use will be cracked once a large scale quantum computer is developed many stages of research from design to deployment define the goals explore space of cryptosystems study algorithms for the attackers focus on secure cryptosystems study algorithms for the users study implementations on real hardware study side channel attacks fault attacks atc focus on secure reliable implementations focus on implementations meeting performance requirements integrate securely into real world applications warning : waterfall data flow undesirable major categories of public key post quantum systems code based encryption : mceliece cryptosystem has survived since 1878 short ciphertexts and large public keys security relies on hardness of decoding error correcting codes Hash-based signatures: - very solid security - small public keys - Require only a secure hash function (hard to find second preimages) Isogeny-based encryption: new kid on the block, promising shrt keys and ciphertexts and non-interactive key exchange. Security relies on hardness of finding isogenies between elliptic cureves over finite fields. Lattice-based encryption and signhatures : possiability for balanced sizes. Security relies on hardness of finding short vectors in some (typically special ) lattice. Multivariate-quadratic signatures : short signatures and large public keys.Security relies on hardness of solving systems of multivariate equations over finite fields. <!-- thx --> post quantum public key signatures Alice = = = = > 量子電腦(Eve) = = = = => Bob 明文=> Secret Key & Public Key => 加密 => 解密 Alice Public Key => 明文 only one prerequisite a good hash function sha3-512 ... hash functions map long strings to fixed length strings $H:\{0, 1\}^* \to \{0, 1\}^n$ Quantum computers affect the hardness only marginally(Grover, not Shor.) Old ides: 1979 Lamprot one-time signatures; 1979 Merkle extends to more signtures. on the fast track stateful hash based signatures cfrg has published 2 rfcs : rfc 8391 and rfc 8554 Using smart card & chip to encode. (?) on the fast track stateful hash bassed signatures cfrg has published 2 rfxs : ... NIST has gone through tw... Stateful Hash-Based Signatures. a signature scheme for empty messages : key generation "empty message" >> useful ? first part of signempty.py ```python= import os import hashlib def keypair(): secret = sha3_256(os.urandom(32)) public = sha3_256(secret) return public, secret ``` rest of signempty.py ```python= def sign(message, secret): if message != '':raise Exception('nonempty message') signedmessage = secret return signedmessage def open(signedmessage, public): if sha3_256(signedmessage) != public: raise Exeption('Bad signature') message = '' return message ``` the best post quantum systems in round 3 of the nist competition systems from us and from our colleagues at academia sinica 這四種演算法就是目前還比較好的解決方案: McEliece - classic.mceliece.org Rainbow - Multivariate-based signatures - https://www.pqcrainbow.org NTRU Prime. - Lattice-based encryption SPHINCS+. - Hash-based signatures. - https://sphincs.org further information pqcrypto.org 主要是破質數分解影響公開金鑰加密系統,提出多種解法,但也很多種解法被破解了… 後續主要解釋其中一種 stateful hash-based signature. ###### tags: `HITCON2020`,`HITCON`

    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