alanhc
    • 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
    • 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 Versions and GitHub Sync Note Insights 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
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # 多媒體安全 final [TOC] ## links - [期末report](https://docs.google.com/document/d/1CsYlKoOb9UpLX7HF96b25ZuWQ3eGAz1lYAr-OLc6aZo/edit?usp=sharing) - [期末 slide]( https://docs.google.com/presentation/d/1lk0xQHnsjB65QLTBPieeLBeJevVj29rIhPuMBVP9fcY/edit?usp=sharing) - [Survey report of web3 identification security issues-alanhc](https://drive.google.com/file/d/1FAQjf86xtSna83fNBge_by8XxELGrsqo/view?usp=sharing) - [Survey report of web3 identification security issues(Techniques)-alanhc](https://drive.google.com/file/d/1pJcRhCfEYey_O0F4lPcWppJlmRgVMlFQ/view?usp=sharing) ## paper - [Achieving Privacy and Security Using QR-Code through Homomorphic Encryption and Steganography](https://drive.google.com/file/d/10y91yUoa01oYsziXYWNgXOUTiW3jWvVf/view?usp=sharing) - 目的:secure banking transaction system - ntru: 好像是otp code - steganography: 秘密通訊 - [A privacy preserving identification protocol for smart contracts](https://drive.google.com/drive/u/0/folders/1C9CZq4qGCYIQDFG5m1jgYY0kGE21NmMP) - 反洗錢防制 - zero knowledge proof - [A Buyer–Seller Watermarking Protocol](https://drive.google.com/file/d/18QO8Zt1ECaGbAyAQ0IR_ASOZUPWQCYQP/view?usp=sharing) - [An Efficient and Anonymous Buyer-Seller Watermarking Protocol](https://drive.google.com/file/d/1hZinSscLiNQvGBa8Z5TUkIXz-C4qUOJh/view?usp=sharing) - ![](https://i.imgur.com/T1dCAQe.png) - ![](https://i.imgur.com/0OO5EfJ.png) - https://drive.google.com/file/d/1c0VM9BnfVYXHfDJ9qxVE7gvIDlT62ua3/view?usp=sharing ## 作業需求 消化,並講解,主要是口頭 必須知道做這件事情在這個領域的定位 要知道是否真的了解? 口頭: 動機是甚麼 為甚麼要這樣做 我的一些survey ![](https://i.imgur.com/ooaEiv9.png) - due date: 6/6 選擇的subject、對該領域的了解、現在別人做到甚麼地方、有甚麼想法 做出system(optional) 實作可以講performance變好/差 metaverse領域還沒有人用buyer seller protocol metaverse怎麼要有個虛擬身分代表 可以從buyer-seller protocol oral presentation 不要太長 30 min 感覺好像還有期末報告(? 目的: 找有興趣的領域 跨過門檻(? 自己的想法、presenatation ## 作業 本次Final需要繳交: 1.一份pdf的報告 2.一份mp4的30分鐘口頭報告,內容以投影片形式呈現 3.投影片檔案(可交可不交) 請同學把以上的檔案和其他附加的檔案(可能是source code, 實驗結果等...)打包成壓縮檔上傳至NTU COOL 一組只要派一個人繳交即可,請2人以上的組別務必在報告中明確打上你們的名字和學號! - homomorphic encryption - NTRU implementation: [link](https://ntru.org/software.shtml) - error: `clang: error: the clang compiler does not support '-march=native'` - https://stackoverflow.com/questions/65966969/why-does-march-native-not-work-on-apple-m1 - python implmentation - https://www.youtube.com/watch?v=IiR2rVDAbLc - ref1(py3): https://github.com/jkrauze/ntru - `echo "hello!" | python ntru.py enc myKey.pub.npz > a.txt` - `python ntru.py dec myKey.priv.npz a.txt` - ref2(py2) - 證明: https://asecuritysite.com/encryption/ntru_key - code: https://github.com/Sapphirine/ntru - ref(js) - https://github.com/cyph/ntru.js - https://npm.io/package/ntru - QR Code - https://towardsdatascience.com/generate-qrcode-with-python-in-5-lines-42eda283f325 - 浮水印 - DWT: https://pywavelets.readthedocs.io/en/0.2.2/ref/dwt-discrete-wavelet-transform.html - https://towardsdatascience.com/wavelet-transforms-in-python-with-google-jax-cfd7ca9a39c6 - 讀詳細一點 - 把圖片藏在其他圖片裡 https://github.com/kelvins/steganography ## 規劃 - 5/9 - 5/16 x - 5/23 (沒有開會) - 5/26 (寫完報告) - 5/30 (oral presentation+ptt) - 6/6 作業繳交 ## 5/16 開會紀錄 - 討論事項 - 浮水印的實作方式+原理細節 - 琪琪, alanhc ![](https://i.imgur.com/LxEgXdl.png) ![](https://i.imgur.com/XTrbeUs.png) ## 開會紀錄 5/19 - 題目:Metaverse世界中的 buyer-seller protocol buyer-seller protocol in metaverse - notes - 比較現有buyer-seller protocol及我們提出的方法 metaverse 沒有做一個好的watermarking scene 兩個虛擬人物如何取得互信,buyer-seller protocol是個很好的範例 應用: 公平交易平台 ### ideas 問題 - NFT複製很容易 (NFT版權問題) - watermark - tract NFT 數量>避免被mint太多 - watermark鑄造NFT - https://medium.com/centerprime/introducing-centerprime-watermark-technology-da8efc703bb0 - https://www.marksgray.com/do-you-make-nfts-what-you-need-to-know-about-copyright-protection/#:~:text=Make%20It%20Visible&text=If%20that%20feels%20too%20ugly,victor%20in%20a%20copyright%20case. - - In order to generate the watermark, Bob has to send a certification of his identity and his public key to the trusted watermark certification authority C and ask for a valid watermark. The watermark certification authority generates a random but valid watermark $W$ and sends to Bob $E_{K_B}(W)$, which means the watermark is encrypted by Bob’s public key. - public key > A有沒有可能拿B的pk去watermark? - 解決:A先對作品做sign,產生signature,然後watermark進NFT - https://hackernoon.com/hiding-secrets-steganography-in-digital-arts-and-nfts-531z35f0 - mint的時候要檢查是否是別人複製的 ## 開會紀錄 5/26 - 寫完報告:琪、alanhc - 報告 - watermark介紹 - web3驗證、NFT問題 - 好像可以把secure QR Code加進來,確定沒有被篡改 - 題目有點像賣東西 - 流程 - 使用者收到貨物 上面有照片 - 使用者透過app,還原watermark照片成qrcode,並給server掃描 - server收到seure qr code,啟用產品,將使用者導入驗證貨品畫面(賣家、txn 資訊) - 驗證貨物 - 5/30開會 - 完成報告 - 6/1 開會20:00 - 完成簡報、講稿 - 6/3 18:00交影片 - 6/4 20:00 檢查作業 - 6/5 12:00 (optional) 整合所有code ## 開會紀錄 6/4 https://youtu.be/jYXvBcHZ_y4 - 6/4 20:00 檢查作業 本次Final需要繳交: - [ ] 1.一份pdf的報告 [期末report](https://docs.google.com/document/d/1CsYlKoOb9UpLX7HF96b25ZuWQ3eGAz1lYAr-OLc6aZo/edit?usp=sharing) - [ ] 2.一份mp4的30分鐘口頭報告,內容以投影片形式呈現 {%youtube jYXvBcHZ_y4%} - [ ] 3.投影片檔案(可交可不交) [期末 slide]( https://docs.google.com/presentation/d/1lk0xQHnsjB65QLTBPieeLBeJevVj29rIhPuMBVP9fcY/edit?usp=sharing) 請同學把以上的檔案和其他附加的檔案(可能是source code, 實驗結果等...)打包成壓縮檔上傳至NTU COOL 一組只要派一個人繳交即可,請2人以上的組別務必在報告中明確打上你們的名字和學號! [code](https://github.com/alanhc/MMS-final) - A group (with Maximum 3 members) tries to realize/investigate a security related final project proposed by the group members. - The grading depends on the satisfaction of the group’s 30 mins. Oral presentation in the Final. further investigate/realize your interested topic. (a) a report (pdf-file) (b) a silde presentation file (with 30mins vocal explanation recorded slide-by-slide) of (a) (c) slides (pptx-file, optional) 請將上述(a), (b), (c)打包成壓縮檔(zip)繳交, 檔名 : 王小明_r09922XXX (name_student ID) - frontend架構圖 https://drive.google.com/file/d/1QvHlf63WLFVCc1DkgzVw5EXrkN3KC75v/view?usp=sharing - 博翔的參考code:https://github.com/DSR-Team/DSR-Editor - API: https://hackmd.io/CtObjIkESoimhp5eG9XvLA - 經堯老師的qr code參考code - https://editor.p5js.org/jinyao.lin/full/aOIuac6fJ - https://editor.p5js.org/jinyao.lin/full/WXA9CJ51I ## 5/16 上課slide ![](https://i.imgur.com/0IQ6aFh.png) - e commerce - ![](https://i.imgur.com/yEK4QZo.png) ![](https://i.imgur.com/zsBQFkW.png) ![](https://i.imgur.com/6oDCD8u.png) ![](https://i.imgur.com/M96ZGLG.png) ![](https://i.imgur.com/6Ujysg1.png) ![](https://i.imgur.com/ndsbteb.png) ![](https://i.imgur.com/nKAvVW4.png) ![](https://i.imgur.com/dfmWwjs.png) ![](https://i.imgur.com/hCHHL8y.png) ![](https://i.imgur.com/ItxCMFL.png) --- ![](https://i.imgur.com/GIAmft4.png) ![](https://i.imgur.com/7IZG0Ow.png) ![](https://i.imgur.com/Gbt74v2.png) ![](https://i.imgur.com/GucUFXA.png) ![](https://i.imgur.com/HCmermj.png) ![](https://i.imgur.com/Uwyefvz.png) ![](https://i.imgur.com/ItWbs42.png) ![](https://i.imgur.com/bSxIqrz.png) ![](https://i.imgur.com/DjDk3Xt.png) ![](https://i.imgur.com/6eu5z45.png) ![](https://i.imgur.com/ln58Tyy.png) ![](https://i.imgur.com/SZB2DMh.png) ![](https://i.imgur.com/wirO3sR.png) ![](https://i.imgur.com/8KzvUtR.png) ![](https://i.imgur.com/1MDogzI.png) ![](https://i.imgur.com/OClnVls.png) ![](https://i.imgur.com/BnbEHsM.png) ![](https://i.imgur.com/tkvblVT.png) ![](https://i.imgur.com/Oku2RnP.png) ![](https://i.imgur.com/c45OcOY.png) ![](https://i.imgur.com/KVWBi4m.png) ![](https://i.imgur.com/LzSnkoT.png) ![](https://i.imgur.com/d97jcHD.png) - metaverse 沒有做一個好的watermarking scene - 兩個虛擬人物如何取得互信,buyer-seller protocol是個很好的範例 - 應用: 公平交易平台 ![](https://i.imgur.com/Jed2Op7.png) ![](https://i.imgur.com/gRUKgJO.png) ![](https://i.imgur.com/Fq9hKsd.png) ![](https://i.imgur.com/Byd9cs6.png) ![](https://i.imgur.com/9E94JJI.png) ![](https://i.imgur.com/ZbHPCp3.png) ![](https://i.imgur.com/14PWxGB.png) ![](https://i.imgur.com/VjfYXiy.png) ![](https://i.imgur.com/BUlpd2i.png) ![](https://i.imgur.com/Gm24CsD.png) ![](https://i.imgur.com/edjjV9U.png) ![](https://i.imgur.com/0WmxZch.png) ![](https://i.imgur.com/EYUywUt.png) ![](https://i.imgur.com/WwLU0O6.png) ![](https://i.imgur.com/e7XtKK1.png) ![](https://i.imgur.com/H6UsSXD.png) ![](https://i.imgur.com/jjwNyaf.png) ![](https://i.imgur.com/dRu1lUj.png) ![](https://i.imgur.com/sOtYjPQ.png) ![](https://i.imgur.com/5k1ixfN.png) ![](https://i.imgur.com/AwSx2sM.png) ![](https://i.imgur.com/PjBUk7a.png) 實務面不太合理>使用者跟驗證單位去做驗證 刑事法律 要證明自己清白、對方證明 民事只需要對方證明 ![](https://i.imgur.com/ci7CU9n.png) ![](https://i.imgur.com/nL9aVaG.png) ![](https://i.imgur.com/K4DIywI.png) ![](https://i.imgur.com/rsMux6n.png) ![](https://i.imgur.com/FBXnEx8.png) ![](https://i.imgur.com/kIh12Xt.png) ![](https://i.imgur.com/jr2akay.png) ![](https://i.imgur.com/XsnAVpt.png) ![](https://i.imgur.com/kf3zYTM.png) ![](https://i.imgur.com/tkGnBtj.png) ![](https://i.imgur.com/sHvgX5K.png) ![](https://i.imgur.com/hmze2jB.png) ![](https://i.imgur.com/eZxMOpY.png) ![](https://i.imgur.com/L0fUH6n.png) ![](https://i.imgur.com/ZHPGDoO.png) ![](https://i.imgur.com/eXNfkKP.png) ![](https://i.imgur.com/Og4n80q.png) - 怎麼把time放進watermark很重要 ![](https://i.imgur.com/9n4kLRH.png) ![](https://i.imgur.com/mpQjMQi.png) ![](https://i.imgur.com/p8Lh5Bv.png) ![](https://i.imgur.com/ZG6L0Tq.png) ![](https://i.imgur.com/QolGrDW.png) ![](https://i.imgur.com/aVwLW3j.png) ![](https://i.imgur.com/5lo33zY.png) ![](https://i.imgur.com/4zIxxij.png) ![](https://i.imgur.com/t3IQTj1.png) ![](https://i.imgur.com/FrHkqRq.png) ![](https://i.imgur.com/aw5KZeh.png) ![](https://i.imgur.com/saINylp.png) ![](https://i.imgur.com/c0BISYy.png) ![](https://i.imgur.com/tSqa3UW.png) ![](https://i.imgur.com/XPLip3e.png) ## 實作 - https://stackoverflow.com/questions/19183180/how-to-save-an-image-to-localstorage-and-display-it-on-the-next-page -

    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