{"id":1384,"date":"2020-02-28T22:54:19","date_gmt":"2020-02-28T14:54:19","guid":{"rendered":"http:\/\/149.129.74.185\/?p=1384"},"modified":"2020-02-29T16:43:07","modified_gmt":"2020-02-29T08:43:07","slug":"%e7%bd%91%e7%bb%9c%e5%ae%89%e5%85%a8-week-1-note-2","status":"publish","type":"post","link":"http:\/\/www.magicmipamipa.com\/?p=1384","title":{"rendered":"[\u7f51\u7edc\u5b89\u5168] Week 1 Note 2"},"content":{"rendered":"<h2 id=\"mcetoc_1e25nc0sj0\">Intro<\/h2>\n<p>Network: Share resources via communication\uff08data transmission\uff09<\/p>\n<h3 id=\"mcetoc_1e25nc39s1\">communication<\/h3>\n<table style=\"width: 757px;\">\n<tbody>\n<tr>\n<td style=\"width: 612px; text-align: center;\" colspan=\"2\">wired<\/td>\n<td style=\"width: 537px; text-align: center;\">wireless<\/td>\n<td style=\"width: 365px; text-align: center;\">\u6709\u7ebf\/\u65e0\u7ebf<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 612px; text-align: center;\" colspan=\"2\">single-hop(bluetooth)<\/td>\n<td style=\"width: 537px; text-align: center;\">multi-hop<\/td>\n<td style=\"width: 365px; text-align: center;\">\u5355\u8df3\/\u591a\u8df3<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 612px; text-align: center;\" colspan=\"2\">single-path<\/td>\n<td style=\"width: 537px; text-align: center;\">multi-path<\/p>\n<p>\u540c\u4e00\u6570\u636e\u5305\u53ef\u80fd\u901a\u8fc7\u4e0d\u540c\u7684\u8def\u5f84\u53d1\u5230\u76ee\u7684\u5730\uff0c\u589e\u52a0\u901a\u4fe1\u7684\u53ef\u9760\u6027\u3002<\/td>\n<td style=\"width: 365px; text-align: center;\">\u5355\u8def\u5f84\/\u591a\u8def\u5f84<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 392px; text-align: center;\">unicast<\/td>\n<td style=\"width: 220px; text-align: center;\">broadcast<\/td>\n<td style=\"width: 537px; text-align: center;\">multicast\uff08\u591a\u4eba\uff09<\/td>\n<td style=\"width: 365px; text-align: center;\">\u00a0\u5355\u64ad\/\u5e7f\u64ad\/\u7ec4\u64ad<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 392px; text-align: center;\" colspan=\"2\">services:<\/p>\n<p>&nbsp;<\/td>\n<td style=\"width: 537px; text-align: center;\">search<\/p>\n<p>streaming<\/p>\n<p>messaging<\/p>\n<p>email<\/p>\n<p>storage<\/p>\n<p>payment<\/td>\n<td style=\"width: 365px; text-align: center;\">protect communication: confidentiality integrity<\/p>\n<p>availability<\/p>\n<p>\u4fdd\u5bc6\u3001\u5b8c\u6574\u3001\u53ef\u7528\u6027<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"mcetoc_1e25o6c3b2\"><\/h3>\n<h3 id=\"mcetoc_1e25o6c3b3\">Agenda<\/h3>\n<ul>\n<li>Cryptography \u5bc6\u7801\u5b66\u00a0<span style=\"background-color: #ffff00;\">Crypto\uff1a\u5bc6\u7801<\/span><\/li>\n<li>Cryptanalysis \u5bc6\u7801\u5206\u6790<\/li>\n<li>Blockchain \u533a\u5757\u94fe\u00a0<span style=\"background-color: #ffff00;\">Comprehensive\uff1a\u7efc\u5408\u7684<\/span><\/li>\n<li>Secure Connection \u5b89\u5168\u8fde\u63a5<\/li>\n<li>Secure Routing and Forwarding \u5b89\u5168\u8def\u7531\u548c\u8f6c\u53d1\u00a0<span style=\"background-color: #ffff00;\">confidential: \u4fdd\u5bc6\u7684<\/span><\/li>\n<li>Anonymous Communication \u533f\u540d\u901a\u4fe1\u00a0<span style=\"background-color: #ffff00;\">Anonymous\uff1a\u533f\u540d\u7684<\/span><\/li>\n<li>Wi-Fi Security \u65e0\u7ebf\u7f51\u7edc\u5b89\u5168 <span style=\"background-color: #ffff00;\">evolve\uff1a\u53d1\u5c55<\/span><\/li>\n<li>Zero-Knowledge Proof \u96f6\u77e5\u8bc6\u8bc1\u660e trust security even when it is trustless<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2 id=\"mcetoc_1e27telgq1\" style=\"text-align: left;\">Crytography<\/h2>\n<h3 id=\"mcetoc_1e27tks282\">symmetric crytography<\/h3>\n<p>enc(plaintext,<span style=\"color: #ff9900;\">key<\/span>) = ciphertext \u52a0\u5bc6\u8fc7\u7a0b<\/p>\n<p>dec(ciphertext,<span style=\"color: #ff9900;\">key<\/span>) = plaintext \u89e3\u5bc6\u8fc7\u7a0b<\/p>\n<p>* \u5bf9\u591a\u4eba\u901a\u8bdd\u4e4b\u95f4\u4e0d\u9002\u7528\uff0c\u56e0\u4e3a\u5bf9\u6bcf\u4e24\u4e2a\u4eba\u90fd\u9700\u8981\u4e00\u4e2aKey\u3002<\/p>\n<h3 id=\"mcetoc_1e27tmnl93\">asymmetric cryptography<\/h3>\n<p>many-to-one secure comm = public key + pribate key<\/p>\n<p>enc(plaintext,<span style=\"color: #ff9900;\">pub<\/span>) = ciphertext<\/p>\n<p>dec(ciphertext,<span style=\"color: #ff9900;\">priv<\/span>) = plaintext<\/p>\n<ul>\n<li>\u516c\u94a5\u52a0\u5bc6\u4fe1\u606f\uff0c\u79c1\u94a5\u89e3\u5bc6\u4fe1\u606f\u3002<\/li>\n<\/ul>\n<p>one-to-many proof\uff1a<\/p>\n<p>enc(<span style=\"color: #ff9900;\">name<\/span>,priv) = ciphertext<\/p>\n<p>dec(ciphertext,pub) = <span style=\"color: #ff9900;\">name<\/span><\/p>\n<ul>\n<li>\u79c1\u94a5\u52a0\u5bc6\u4fe1\u606f\uff0c\u516c\u94a5\u89e3\u5bc6\u3002<\/li>\n<\/ul>\n<p><span style=\"text-decoration: underline;\"><span style=\"color: #ff9900; text-decoration: underline;\">DO NOT<\/span><\/span> require secure channnels for key exchange.<\/p>\n<p>\u975e\u5bf9\u79f0\u52a0\u5bc6\u4e0d\u9700\u8981\u5b89\u5168\u9891\u9053\u6765\u4ea4\u6362\u5bc6\u94a5\u3002<\/p>\n<blockquote><p>\u4e3a\u4ec0\u4e48\u6211\u4eec\u4ecd\u7136\u9700\u8981\u5bf9\u79f0\u52a0\u5bc6\uff1f<\/p><\/blockquote>\n<p id=\"mcetoc_1e27u807l5\">Homomorphic Encryption\u00a0\u540c\u6001\u52a0\u5bc6<\/p>\n<p>Replay Attack \u91cd\u653e\u653b\u51fb &#8211; \u5c06\u540c\u6837\u7684\u6697\u6587\u4fe1\u606f\u53d1\u9001\u7ed9\u4ed6\u4eba\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"mcetoc_1e27v6e7c6\">Blockchain<\/h2>\n<p>centralized trust\uff1aAuthority<\/p>\n<p>decentralized trust\uff1aBlockchain<\/p>\n<p><span style=\"background-color: #ffff00;\">ledger\uff1a\u5206\u6237\u8d26\u7c3f<\/span><\/p>\n<p>&nbsp;<\/p>\n<h3 id=\"mcetoc_1e27vc6i77\">Secure Connection<\/h3>\n<p>key exchange<\/p>\n<p>SSL\u3001TSL<\/p>\n<p>HTTP\u3001HTTPS<\/p>\n<p>Routing\u3001Forwarding<\/p>\n<p>Attack Routing\uff1alead to unreasonable paths<\/p>\n<p>Attack Forwarding\uff1areroute traffic from specified paths<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Intro Network: Share resources via communication\uff08d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,39],"tags":[],"_links":{"self":[{"href":"http:\/\/www.magicmipamipa.com\/index.php?rest_route=\/wp\/v2\/posts\/1384"}],"collection":[{"href":"http:\/\/www.magicmipamipa.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.magicmipamipa.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.magicmipamipa.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.magicmipamipa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1384"}],"version-history":[{"count":3,"href":"http:\/\/www.magicmipamipa.com\/index.php?rest_route=\/wp\/v2\/posts\/1384\/revisions"}],"predecessor-version":[{"id":1388,"href":"http:\/\/www.magicmipamipa.com\/index.php?rest_route=\/wp\/v2\/posts\/1384\/revisions\/1388"}],"wp:attachment":[{"href":"http:\/\/www.magicmipamipa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.magicmipamipa.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1384"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.magicmipamipa.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}