{"id":9837,"date":"2023-10-22T17:00:57","date_gmt":"2023-10-22T10:00:57","guid":{"rendered":"https:\/\/bitcoinvn.io\/news\/?p=9837"},"modified":"2024-05-04T09:03:27","modified_gmt":"2024-05-04T02:03:27","slug":"phan-tich-toan-hoc-an-giau-dang-sau-bitcoin","status":"publish","type":"post","link":"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/","title":{"rendered":"Ph\u00e2n t\u00edch To\u00e1n h\u1ecdc \u201c\u1ea9n gi\u1ea5u&#8221; \u0111\u1eb1ng sau Bitcoin"},"content":{"rendered":"<p><em><i>\u0110\u1ed1i v\u1edbi nh\u1eefng ng\u01b0\u1eddi m\u1edbi b\u1eaft \u0111\u1ea7u, m\u1ed9t trong nh\u1eefng l\u00fd do khi\u1ebfn Bitcoin<span style=\"color: #ffffff;\">.<\/span>tr\u1edf n\u00ean kh\u00f3 hi\u1ec3u ch\u00ednh l\u00e0: c\u00f4ng ngh\u1ec7 ph\u00eda sau n\u00f3 \u0111\u00e3 cho ch\u00fang ta m\u1ed9t \u0111\u1ecbnh ngh\u0129a ho\u00e0n to\u00e0n kh\u00e1c<span style=\"color: #ffffff;\">.<\/span>v\u1ec1 kh\u00e1i ni\u1ec7m \u201c<\/i><\/em><em><i>quy\u1ec1n s\u1edf h\u1eefu<\/i><\/em><em><i>\u201d<\/i><\/em><em><i>.<\/i><\/em><em><i> V\u1eady quy\u1ec1n s\u1edf h\u1eefu trong Bitcoin l\u00e0 g\u00ec? L\u00e0m th\u1ebf n\u00e0o \u0111\u1ec3 t\u1ea1o ra kh\u00f3a ri\u00eang t\u01b0 (private key), kh\u00f3a c\u00f4ng khai (public key), ch\u1eef k\u00fd\u2026 \u0111\u1ec3 gi\u00fap b\u1ea1n to\u00e0n quy\u1ec1n s\u1edf h\u1eefu Bitcoin? <\/i><\/em><\/p>\n<p>T\u1ea5t c\u1ea3 \u0111\u1ec1u \u0111\u01b0\u1ee3c th\u1ef1c hi\u1ec7n b\u1edfi c\u00e1c thu\u1eadt to\u00e1n khoa h\u1ecdc v\u00e0 ch\u00ednh x\u00e1c. Ngay b\u00e2y gi\u1edd, m\u1eddi b\u1ea1n c\u00f9ng ch\u00fang t\u00f4i<span style=\"color: #ffffff;\">.<\/span>\u0111i s\u00e2u ph\u00e2n t\u00edch c\u00e1c ph\u00e9p t\u00ednh To\u00e1n h\u1ecdc t\u1ea1o n\u00ean th\u00e0nh c\u00f4ng c\u1ee7a Bitcoin. Ri\u00eang \u0111\u1ed1i v\u1edbi nh\u1eefng ng\u01b0\u1eddi kh\u00f4ng c\u00f3 ni\u1ec1m \u0111am m\u00ea v\u1edbi nh\u1eefng con s\u1ed1,<span style=\"color: #ffffff;\">.<\/span>b\u1ea1n h\u00e3y l\u01b0\u1edbt \u0111\u1ebfn <strong>ph\u1ea7n k\u1ebft lu\u1eadn \u1edf cu\u1ed1i b\u00e0i<\/strong> \u0111\u1ec3 t\u00ecm ra b\u00e0i h\u1ecdc cho ri\u00eang m\u00ecnh nh\u00e9!<\/p>\n<figure id=\"attachment_9838\" aria-describedby=\"caption-attachment-9838\" style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9838 size-full\" src=\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-dang-sau-bitcoin-min.jpg\" alt=\"\" width=\"1000\" height=\"596\" srcset=\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-dang-sau-bitcoin-min.jpg 1000w, https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-dang-sau-bitcoin-min-300x179.jpg 300w, https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-dang-sau-bitcoin-min-768x458.jpg 768w, https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-dang-sau-bitcoin-min-696x415.jpg 696w, https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-dang-sau-bitcoin-min-705x420.jpg 705w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption id=\"caption-attachment-9838\" class=\"wp-caption-text\">D\u01b0\u1edbi \u0111\u00e2y l\u00e0 ph\u00e2n t\u00edch to\u00e1n h\u1ecdc \u0111\u1eb1ng sau Bitcoin<\/figcaption><\/figure>\n<h2><strong><b>Bitcoin \u0111\u1ecbnh ngh\u0129a l\u1ea1i kh\u00e1i ni\u1ec7m v\u1ec1 \u201cQuy\u1ec1n S\u1edf h\u1eefu\u201d<\/b><\/strong><\/h2>\n<p>Theo ngh\u0129a truy\u1ec1n th\u1ed1ng, \u0111\u1ec3 s\u1edf h\u1eefu m\u1ed9t c\u00e1i g\u00ec \u0111\u00f3. V\u00ed d\u1ee5 nh\u01b0 s\u01a1 h\u1eefu m\u1ed9t c\u0103n nh\u00e0, m\u1ed9t chi\u1ebfc xe hay m\u1ed9t kho\u1ea3n ti\u1ec1n\u2026 c\u00f3 ngh\u0129a l\u00e0 nh\u1eefng th\u1ee9 n\u00e0y thu\u1ed9c quy\u1ec1n n\u1eafm gi\u1eef c\u1ee7a ch\u00fang ta (ho\u1eb7c m\u1ed9t \u0111\u01a1n v\u1ecb \u0111\u00e1ng tin c\u1eady nh\u01b0 ng\u00e2n h\u00e0ng).<\/p>\n<p>Tuy nhi\u00ean, v\u1edbi Bitcoin, quy\u1ec1n s\u1edf h\u1eefu l\u1ea1i \u0111\u01b0\u1ee3c th\u1ec3 hi\u1ec7n m\u1ed9t c\u00e1ch ho\u00e0n to\u00e0n kh\u00e1c. Bitcoin l\u00e0 phi t\u1eadp trung v\u00e0 <strong><b>kh\u00f4ng m\u1ed9t ai hay m\u1ed9t t\u1ed5 ch\u1ee9c n\u00e0o c\u00f3 kh\u1ea3 n\u0103ng n\u1eafm gi\u1eef n\u00f3 trong tay<\/b><\/strong>. Nh\u1eefng \u0111\u1ed3ng ti\u1ec1n <a href=\"https:\/\/bitcoinvn.io\/vi\/?deposit=vnd&amp;settle=btc&amp;utm_source=Google&amp;utm_medium=toan-hoc-dang-sau-bitcoin&amp;utm_id=SEO2023\" target=\"_blank\" rel=\"noopener\">Bitcoin (BTC)<\/a> n\u00e0y t\u1ed3n t\u1ea1i d\u01b0\u1edbi d\u1ea1ng c\u00e1c b\u1ed9 h\u1ed3 s\u01a1 \u0111\u01b0\u1ee3c ph\u00e2n ph\u1ed1i tr\u00ean m\u1ed9t cu\u1ed1n s\u1ed5 k\u1ebf to\u00e1n g\u1ecdi l\u00e0\u00a0chu\u1ed7i kh\u1ed1i (blockchain). B\u1ea3n sao c\u1ee7a d\u1eef li\u1ec7u s\u1ebd \u0111\u01b0\u1ee3c chia s\u1ebb cho c\u00e1c m\u1ea1ng l\u01b0\u1edbi m\u00e1y t\u00ednh ch\u1ee7 \u0111\u1ed9ng k\u1ebft n\u1ed1i v\u1edbi n\u00f3.<\/p>\n<p>Hi\u1ec3u m\u1ed9t c\u00e1ch \u0111\u01a1n gi\u1ea3n, khi \u201cs\u1edf h\u1eefu\u201d 1 Bitcoin c\u00f3 ngh\u0129a l\u00e0 b\u1ea1n c\u00f3 m\u1ed9t h\u1ed3 s\u01a1 l\u01b0u tr\u1eef 1 BTC<span style=\"color: #ffffff;\">.<\/span> tr\u00ean blockchain v\u00e0 b\u1ea1n to\u00e0n quy\u1ec1n chuy\u1ec3n nh\u01b0\u1ee3ng quy\u1ec1n s\u1edf h\u1eefu h\u1ed3 s\u01a1 n\u00e0y<span style=\"color: #ffffff;\">.<\/span>cho m\u1ed9t ng\u01b0\u1eddi kh\u00e1c n\u1ebfu b\u1ea1n n\u1eafm gi\u1eef m\u00e3 kh\u00f3a c\u00f4ng khai (public) v\u00e0 kh\u00f3a private <a href=\"https:\/\/web.archive.org\/web\/20170606010649\/http:\/\/en.wikipedia.org\/wiki\/Elliptic_Curve_DSA\" target=\"_blank\" rel=\"noopener\"><u>ECDSA<\/u><\/a>. V\u1eady c\u1eb7p m\u00e3 kh\u00f3a n\u00e0y c\u00f3 ngh\u0129a l\u00e0 g\u00ec? V\u00e0 t\u1ea1i sao c\u1eb7p m\u00e3 kh\u00f3a n\u00e0y gi\u00fap Bitcoin an to\u00e0n?<\/p>\n<p>Ch\u00fang ta s\u1ebd c\u00f9ng \u0111i s\u00e2u ph\u00e2n t\u00edch nh\u00e9!<\/p>\n<p><strong><b>ECDSA<\/b><\/strong> l\u00e0 vi\u1ebft t\u1eaft c\u1ee7a Elliptic Curve Digital Signature Algorithm &#8211;<span style=\"color: #ffffff;\">.<\/span>m\u1ed9t thu\u1eadt to\u00e1n ch\u1eef k\u00fd \u0111i\u1ec7n t\u1eed \u0111\u01b0\u1ee3c t\u1ea1o n\u00ean t\u1eeb \u0111\u01b0\u1eddng cong Elliptic. Theo \u0111\u00f3, ECDSA k\u1ebft h\u1ee3p 1\u00a0<a href=\"https:\/\/web.archive.org\/web\/20170606010649\/http:\/\/en.wikipedia.org\/wiki\/Elliptic_curve\" target=\"_blank\" rel=\"noopener\"><u>\u0111\u01b0\u1eddng cong elliptic<\/u><\/a>\u00a0v\u00e0 1\u00a0<a href=\"https:\/\/web.archive.org\/web\/20170606010649\/http:\/\/en.wikipedia.org\/wiki\/Finite_field\" target=\"_blank\" rel=\"noopener\"><u>tr\u01b0\u1eddng h\u1eefu h\u1ea1n<\/u><\/a> \u0111\u1ec3 t\u1ea1o ra ch\u1eef k\u00fd (sign) nh\u1eb1m x\u00e1c nh\u1eadn ph\u00ea duy\u1ec7t chuy\u1ec3n nh\u01b0\u1ee3ng quy\u1ec1n s\u1edf h\u1eefu BTC. Ch\u1eef k\u00fd n\u00e0y bu\u1ed9c ph\u1ea3i \u0111\u1ea3m b\u1ea3o 2 y\u1ebfu t\u1ed1: ch\u1eef k\u00fd \u0111\u1ed9c quy\u1ec1n v\u00e0 m\u1ecdi ng\u01b0\u1eddi c\u00f3 th\u1ec3 x\u00e1c minh t\u00ednh x\u00e1c th\u1ef1c c\u1ee7a ch\u1eef k\u00fd \u0111\u00f3.<\/p>\n<p>Nh\u00ecn chung, thu\u1eadt to\u00e1n ECDSA c\u00f3 nh\u1eefng c\u00f4ng th\u1ee9c ri\u00eang bi\u1ec7t<span style=\"color: #ffffff;\">.<\/span>trong vi\u1ec7c t\u1ea1o ra ch\u1eef k\u00fd v\u00e0 x\u00e1c minh giao d\u1ecbch. M\u1ed7i c\u00f4ng th\u1ee9c l\u00e0 m\u1ed9t thu\u1eadt to\u00e1n ri\u00eang. C\u00e1c thu\u1eadt to\u00e1n t\u1ea1o ra ch\u1eef k\u00fd n\u00e0y s\u1eed d\u1ee5ng c\u00e1c kh\u00f3a ri\u00eang (private key), v\u00e0 qu\u00e1 tr\u00ecnh x\u00e1c minh d\u00f9ng kh\u00f3a c\u00f4ng khai (public key). \u0110\u1ec3 hi\u1ec3u h\u01a1n v\u1ec1 v\u1ea5n \u0111\u1ec1 n\u00e0y, ch\u00fang ta s\u1ebd c\u00f9ng nhau ph\u00e2n t\u00edch c\u00e1c v\u00ed d\u1ee5 c\u1ee5 th\u1ec3.<\/p>\n<p>Tuy nhi\u00ean, tr\u01b0\u1edbc ti\u00ean, h\u00e3y c\u00f9ng nhau t\u00ecm hi\u1ec3u nhanh v\u1ec1 2 y\u1ebfu t\u1ed1 t\u1ea1o ra ch\u1eef k\u00fd, bao g\u1ed3m: <strong>\u0111\u01b0\u1eddng cong Elliptic<\/strong> v\u00e0 c\u00e1c<strong> tr\u01b0\u1eddng h\u1eefu h\u1ea1n<\/strong>.<\/p>\n<h2><strong><b>T\u1eeb A-Z v\u1ec1 \u0111\u01b0\u1eddng cong Elliptic<\/b><\/strong><\/h2>\n<p>\u0110\u01b0\u1eddng cong Elliptic l\u00e0 m\u1ed9t ph\u01b0\u01a1ng tr\u00ecnh c\u00f3 d\u1ea1ng:<\/p>\n<blockquote>\n<p style=\"text-align: left;\"><strong>y\u00a0<sup>2<\/sup>\u00a0= x\u00a0<sup>3<\/sup>\u00a0+ ax + b<\/strong><\/p>\n<\/blockquote>\n<p>V\u1edbi phi\u00ean b\u1ea3n c\u1ee7a Bitcoin, c\u00e1c gi\u00e1 tr\u1ecb a,b \u0111\u01b0\u1ee3c t\u00ednh l\u00e0: a<em><i>\u00a0= 0<\/i><\/em>\u00a0v\u00e0\u00a0<em><i>b = 7<\/i><\/em>. Khi bi\u1ec3u di\u1ec5n tr\u00ean bi\u1ec3u \u0111\u1ed3, ch\u00fang \u0111\u01b0\u1ee3c th\u1ec3 hi\u1ec7n nh\u01b0 sau:<\/p>\n<figure id=\"attachment_9840\" aria-describedby=\"caption-attachment-9840\" style=\"width: 353px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9840 size-full\" src=\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/phan-tich-toan-hoc-dang-sau-bitcoin.png\" alt=\"Bi\u1ec3u \u0111\u1ed3 elliptic c\u1ee7a Bitcoin\" width=\"353\" height=\"354\" srcset=\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/phan-tich-toan-hoc-dang-sau-bitcoin.png 353w, https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/phan-tich-toan-hoc-dang-sau-bitcoin-300x300.png 300w, https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/phan-tich-toan-hoc-dang-sau-bitcoin-150x150.png 150w\" sizes=\"auto, (max-width: 353px) 100vw, 353px\" \/><figcaption id=\"caption-attachment-9840\" class=\"wp-caption-text\">Bi\u1ec3u \u0111\u1ed3 elliptic c\u1ee7a Bitcoin<\/figcaption><\/figure>\n<p>M\u1ed7i \u0111\u01b0\u1eddng cong Elliptic gi\u1ea3i th\u00edch r\u1ea5t nhi\u1ec1u \u0111i\u1ec1u \u00fd ngh\u0129a. V\u00ed d\u1ee5, m\u1ed9t \u0111\u01b0\u1eddng th\u1eb3ng n\u1eb1m x\u00e9o giao v\u1edbi \u0111\u01b0\u1eddng cong t\u1ea1i 2 \u0111i\u1ec3m<span style=\"color: #ffffff;\">.<\/span>th\u00ec ch\u00fang s\u1ebd lu\u00f4n giao v\u1edbi \u0111\u01b0\u1eddng cong t\u1ea1i m\u1ed9t \u0111i\u1ec3m th\u1ee9 3. M\u1ed9t t\u00ednh ch\u1ea5t kh\u00e1c l\u00e0: m\u1ed9t \u0111\u01b0\u1eddng th\u1eb3ng n\u1eb1m x\u00e9o so v\u1edbi \u0111\u01b0\u1eddng cong<span style=\"color: #ffffff;\">.<\/span>v\u00e0 giao v\u1edbi \u0111\u01b0\u1eddng cong t\u1ea1i 1 \u0111i\u1ec3m th\u00ec<span style=\"color: #ffffff;\">.<\/span>ch\u00fang s\u1ebd ti\u1ebfp t\u1ee5c giao v\u1edbi \u0111\u01b0\u1eddng cong \u1ea5y t\u1ea1i m\u1ed9t \u0111i\u1ec3m th\u1ee9 2.<\/p>\n<p>D\u1ef1a v\u00e0o c\u00e1c \u0111\u1eb7c t\u00ednh n\u00e0y, ch\u00fang ta c\u00f3 th\u1ec3 x\u00e1c \u0111\u1ecbnh 2 ph\u00e9p to\u00e1n:<span style=\"color: #ffffff;\">.<\/span>C\u1ed9ng \u0110i\u1ec3m v\u00e0 Nh\u00e2n \u0111\u00f4i \u0110i\u1ec3m.<\/p>\n<p>Tr\u01b0\u1edbc ti\u00ean l\u00e0 ph\u00e9p<strong><b>\u00a0C\u1ed9ng \u0110i\u1ec3m<\/b><\/strong>\u00a0\u0111\u01b0\u1ee3c t\u00ednh b\u1eb1ng c\u00f4ng th\u1ee9c: <strong><em><b><i>P + Q = R<\/i><\/b><\/em><\/strong><strong><em><b><i>. <\/i><\/b><\/em><\/strong>C\u00f4ng th\u1ee9c n\u00e0y \u0111\u01b0\u1ee3c t\u00ednh\u00a0b\u1eb1ng\u00a0d\u1ef1a tr\u00ean \u0111i\u1ec3m giao nhau th\u1ee9 3 l\u00e0 R\u2019<em><i>.<\/i><\/em> \u0110\u1ec3 hi\u1ec3u h\u01a1n v\u1ec1 c\u00f4ng th\u1ee9c n\u00e0y, ch\u00fang ta s\u1ebd c\u00f9ng nhau<span style=\"color: #ffffff;\">.<\/span>bi\u1ec3u di\u1ec5n ph\u01b0\u01a1ng tr\u00ecnh tr\u00ean tr\u1ee5c s\u1ed1 nh\u01b0 sau:<\/p>\n<figure id=\"attachment_9841\" aria-describedby=\"caption-attachment-9841\" style=\"width: 352px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9841 size-full\" src=\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/cong-thuc-toan-hoc-dang-sau-bitcoin.png\" alt=\"Bi\u1ec3u di\u1ec5n ph\u00e9p C\u1ed9ng \u0110i\u1ec3m tr\u00ean tr\u1ee5c s\u1ed1\" width=\"352\" height=\"350\" srcset=\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/cong-thuc-toan-hoc-dang-sau-bitcoin.png 352w, https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/cong-thuc-toan-hoc-dang-sau-bitcoin-300x298.png 300w, https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/cong-thuc-toan-hoc-dang-sau-bitcoin-150x150.png 150w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><figcaption id=\"caption-attachment-9841\" class=\"wp-caption-text\">Bi\u1ec3u di\u1ec5n ph\u00e9p C\u1ed9ng \u0110i\u1ec3m tr\u00ean tr\u1ee5c s\u1ed1<\/figcaption><\/figure>\n<p>T\u01b0\u01a1ng t\u1ef1, ph\u00e9p <strong><b>Nh\u00e2n \u0111\u00f4i \u0110i\u1ec3m<\/b><\/strong>\u00a0\u0111\u01b0\u1ee3c t\u00ednh nh\u01b0 sau: <strong><b>P + P = R<\/b><\/strong><em><i>. <\/i><\/em>Theo \u0111\u00f3, R\u2019 \u0111\u01b0\u1ee3c t\u00ednh b\u1eb1ng c\u00e1ch nh\u00e2n \u0111\u00f4i \u0111i\u1ec3m P v\u00e0 R<span style=\"color: #ffffff;\">.<\/span>s\u1ebd \u0111\u01b0\u1ee3c t\u00ecm ra b\u1eb1ng c\u00e1ch \u0111\u1ed1i x\u1ee9ng R\u2019 th\u00f4ng qua tr\u1ee5c X. \u0110\u1ec3 hi\u1ec3u r\u00f5 h\u01a1n v\u1ec1 c\u00f4ng th\u1ee9c n\u00e0y, m\u1eddi b\u1ea1n tham kh\u1ea3o:<\/p>\n<figure id=\"attachment_9842\" aria-describedby=\"caption-attachment-9842\" style=\"width: 383px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9842 size-full\" src=\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-sau-bitcoin.png\" alt=\"Ph\u01b0\u01a1ng tr\u00ecnh Nh\u00e2n \u0111\u00f4i \u0110i\u1ec3m tr\u00ean tr\u1ee5c s\u1ed1 \" width=\"383\" height=\"417\" srcset=\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-sau-bitcoin.png 383w, https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-sau-bitcoin-276x300.png 276w\" sizes=\"auto, (max-width: 383px) 100vw, 383px\" \/><figcaption id=\"caption-attachment-9842\" class=\"wp-caption-text\">Ph\u01b0\u01a1ng tr\u00ecnh Nh\u00e2n \u0111\u00f4i \u0110i\u1ec3m tr\u00ean tr\u1ee5c s\u1ed1<\/figcaption><\/figure>\n<p>2 ph\u00e9p t\u00ednh C\u1ed9ng \u0110i\u1ec3m v\u00e0 Nh\u00e2n \u0111\u00f4i \u0110i\u1ec3m \u0111\u00e3 \u0111\u01b0\u1ee3c d\u00f9ng \u0111\u1ec3 t\u1ea1o n\u00ean ph\u00e9p Nh\u00e2n V\u00f4 H\u01b0\u1edbng v\u1edbi c\u00f4ng th\u1ee9c: <strong><b>R=<\/b><\/strong><strong><b>a<\/b><\/strong><strong><b>*<\/b><\/strong><strong><b>P<\/b><\/strong><em><i>. <\/i><\/em>Theo \u0111\u00f3, R \u0111\u01b0\u1ee3c x\u00e1c \u0111\u1ecbnh b\u1eb1ng c\u00e1ch th\u00eam nhi\u1ec1u l\u1ea7n \u0111i\u1ec3m P v\u1edbi ch\u00ednh n\u00f3. V\u00ed d\u1ee5:<\/p>\n<blockquote>\n<p style=\"text-align: left;\"><em>R = 7P<\/em><br \/>\n<em>R = P + (P + (P + (P + (P + (P + P)))))<\/em><\/p>\n<\/blockquote>\n<p>Qu\u00e1 tr\u00ecnh nh\u00e2n v\u00f4 h\u01b0\u1edbng c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c \u0111\u01a1n gi\u1ea3n h\u00f3a<span style=\"color: #ffffff;\">.<\/span>b\u1eb1ng c\u00e1ch k\u1ebft h\u1ee3p ph\u00e9p C\u1ed9ng \u0110i\u1ec3m v\u00e0 Nh\u00e2n \u0111\u00f4i \u0110i\u1ec3m. V\u00ed d\u1ee5:<\/p>\n<blockquote>\n<p style=\"text-align: left;\">R = 7P<br \/>\nR = P + 6P<br \/>\nR = P + 2 (3P)<br \/>\nR = P + 2 (P + 2P)<\/p>\n<\/blockquote>\n<p>Theo c\u00f4ng th\u1ee9c <strong>R = P + 2 (P + 2P)<\/strong>\u00a0th\u00ec 7P \u0111\u00e3 \u0111\u01b0\u1ee3c chia th\u00e0nh\u00a02 b\u01b0\u1edbc: nh\u00e2n \u0111\u00f4i \u0111i\u1ec3m 2 b\u01b0\u1edbc c\u1ed9ng \u0111i\u1ec3m.<\/p>\n<h2><strong><b>Nh\u1eefng \u0111i\u1ec1u c\u1ea7n bi\u1ebft v\u1ec1 Tr\u01b0\u1eddng H\u1eefu h\u1ea1n<\/b><\/strong><\/h2>\n<p>\u0110\u1ed1i v\u1edbi ECDSA, m\u1ed9t tr\u01b0\u1eddng h\u1eefu h\u1ea1n \u0111\u01b0\u1ee3c hi\u1ec3u nh\u01b0 l\u00e0 m\u1ed9t t\u1ed5 h\u1ee3p (c\u00f3 gi\u1edbi h\u1ea1n) c\u00e1c s\u1ed1 nguy\u00ean d\u01b0\u01a1ng \u0111\u01b0\u1ee3c x\u00e1c \u0111\u1ecbnh tr\u01b0\u1edbc v\u00e0 to\u00e0n b\u1ed9 c\u00e1c ph\u00e9p t\u00ednh s\u1ebd n\u1eb1m trong ph\u1ea1m vi nh\u1eefng con s\u1ed1 ch\u00fang ta \u0111\u00e3 c\u00f3. B\u1ea5t k\u1ef3 con s\u1ed1 n\u00e0o ngo\u00e0i t\u1ed5 h\u1ee3p n\u00e0y s\u1ebd \u0111\u01b0\u1ee3c quy ho\u1ea1ch <strong><b>v\u1ec1 trong t\u1ed5 h\u1ee3p<\/b><\/strong>.<\/p>\n<p>C\u00e1ch \u0111\u01a1n gi\u1ea3n nh\u1ea5t \u0111\u1ec3 th\u1ec3 hi\u1ec7n qu\u00e1 tr\u00ecnh <strong><b>\u0111\u01b0a c\u00e1c con s\u1ed1 ngo\u00e0i t\u1ed5 h\u1ee3p v\u1ec1 trong ph\u1ea1m vi t\u1ed5 h\u1ee3p<\/b><\/strong> ch\u00ednh l\u00e0 ph\u00e9p t\u00ecm s\u1ed1 d\u01b0 (hay c\u00f2n g\u1ecdi l\u00e0 ph\u00e9p modulus (mod)). V\u00ed d\u1ee5 ch\u00fang ta ph\u00e2n t\u00edch ph\u00e9p chia 9\/7 s\u1ebd ra con s\u1ed1 d\u01b0 l\u00e0 2.<\/p>\n<blockquote>\n<p style=\"text-align: left;\"><em><i>9 mod <\/i><\/em><em><i>7 = 2<\/i><\/em><\/p>\n<\/blockquote>\n<p>Theo v\u00ed d\u1ee5 tr\u00ean, tr\u01b0\u1eddng h\u1eefu h\u1ea1n c\u1ee7a ta l\u00e0 modulo 7. T\u1ea5t c\u1ea3 c\u00e1c ph\u00e9p to\u00e1n mod 7 \u0111\u1ec1u s\u1ebd cho m\u1ed9t con s\u1ed1 d\u01b0 n\u1eb1m trong ph\u1ea1m vi t\u1ed5 h\u1ee3p t\u1eeb 0-6.<\/p>\n<h2><strong><b>S\u1ef1 k\u1ebft h\u1ee3p c\u1ee7a \u0111\u01b0\u1eddng cong Elliptic v\u00e0 Tr\u01b0\u1eddng H\u1eefu h\u1ea1n<\/b><\/strong><\/h2>\n<p>Nh\u01b0 \u0111\u00e3 n\u00f3i \u1edf tr\u00ean, ECDSA k\u1ebft h\u1ee3p c\u00e1c \u0111\u01b0\u1eddng cong Elliptic v\u1edbi c\u00e1c th\u00f4ng s\u1ed1 n\u1eb1m trong m\u1ed9t tr\u01b0\u1eddng h\u1eefu h\u1ea1n. Ch\u00ednh \u0111i\u1ec1u n\u00e0y \u0111\u00e3 l\u00e0m thay \u0111\u1ed5i \u0111\u00e1ng k\u1ec3 c\u00e1c h\u00ecnh d\u1ea1ng c\u1ee7a n\u00f3 nh\u01b0ng v\u1eabn b\u1ea3o to\u00e0n ph\u01b0\u01a1ng tr\u00ecnh c\u01a1 b\u1ea3n v\u00e0 t\u00ednh ch\u1ea5t \u0111\u1eb7c bi\u1ec7t c\u1ee7a n\u00f3. M\u1ed9t ph\u01b0\u01a1ng tr\u00ecnh t\u01b0\u01a1ng t\u1ef1 n\u1eb1m trong tr\u01b0\u1eddng h\u1eefu h\u1ea1n c\u1ee7a modulo 67\u00a0s\u1ebd c\u00f3 h\u00ecnh d\u1ea1ng nh\u01b0 th\u1ebf n\u00e0y:<\/p>\n<figure id=\"attachment_9843\" aria-describedby=\"caption-attachment-9843\" style=\"width: 367px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9843 size-full\" src=\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-va-bitcoin.png\" alt=\"S\u1ef1 k\u1ebft h\u1ee3p c\u1ee7a \u0111\u01b0\u1eddng cong elliptic v\u00e0 tr\u01b0\u1eddng h\u1eefu h\u1ea1n tr\u1edf th\u00e0nh m\u1ed9t t\u1eadp h\u1ee3p \u0111i\u1ec3m\" width=\"367\" height=\"362\" srcset=\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-va-bitcoin.png 367w, https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-va-bitcoin-300x296.png 300w\" sizes=\"auto, (max-width: 367px) 100vw, 367px\" \/><figcaption id=\"caption-attachment-9843\" class=\"wp-caption-text\">S\u1ef1 k\u1ebft h\u1ee3p c\u1ee7a \u0111\u01b0\u1eddng cong elliptic v\u00e0 tr\u01b0\u1eddng h\u1eefu h\u1ea1n tr\u1edf th\u00e0nh m\u1ed9t t\u1eadp h\u1ee3p \u0111i\u1ec3m<\/figcaption><\/figure>\n<p>L\u00fac n\u00e0y, t\u1ea5t c\u1ea3 tr\u1edf th\u00e0nh\u00a0m\u1ed9t t\u1eadp h\u1ee3p \u0111i\u1ec3m. Trong \u0111\u00f3 m\u1ecdi gi\u00e1 tr\u1ecb\u00a0<em><i>x<\/i><\/em>\u00a0v\u00e0\u00a0<em><i>y<\/i><\/em>\u00a0\u0111\u1ec1u l\u00e0 s\u1ed1 nguy\u00ean, n\u1eb1m trong ph\u1ea1m vi t\u1ed5 h\u1ee3p s\u1ed1 t\u1eeb 0-66.<\/p>\n<p>X\u00e9t v\u1ec1 m\u1eb7t tr\u1ef1c quan, ph\u00e9p c\u1ed9ng \u0111i\u1ec3m v\u00e0 nh\u00e2n \u0111\u00f4i \u0111i\u00eam theo c\u00e1ch bi\u1ec3u di\u1ec5n n\u00e0y s\u1ebd c\u00f3 h\u01a1i kh\u00e1c nhau m\u1ed9t ch\u00fat. \u0110\u01b0\u1eddng v\u1ebd tr\u00ean \u0111\u1ed3 th\u1ecb n\u00e0y s\u1ebd qu\u1ea5n quanh h\u01b0\u1edbng ngang v\u00e0 d\u1ecdc, gi\u1ed1ng nh\u01b0 trong m\u1ed9t tr\u00f2 ch\u01a1i c\u00e1c ti\u1ec3u h\u00e0nh tinh, v\u00e0 v\u1eabn duy tr\u00ec \u0111\u1ed9 d\u1ed1c. V\u00ec v\u1eady, n\u1ebfu c\u1ed9ng \u0111i\u1ec3m (2, 22) v\u00e0 (6, 25) th\u00ec \u0111\u1ed3 th\u1ecb s\u1ebd tr\u00f4ng nh\u01b0 th\u1ebf n\u00e0y:<\/p>\n<figure id=\"attachment_9844\" aria-describedby=\"caption-attachment-9844\" style=\"width: 367px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9844 size-full\" src=\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-va-khoa-bitcoin.png\" alt=\"\" width=\"367\" height=\"362\" srcset=\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-va-khoa-bitcoin.png 367w, https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-va-khoa-bitcoin-300x296.png 300w\" sizes=\"auto, (max-width: 367px) 100vw, 367px\" \/><figcaption id=\"caption-attachment-9844\" class=\"wp-caption-text\">\u0110i\u1ec3m giao nhau th\u1ee9 ba l\u00e0 (47, 39) v\u00e0 \u0111i\u1ec3m \u00e1nh x\u1ea1 c\u1ee7a n\u00f3 l\u00e0 (47, 28)<\/figcaption><\/figure>\n<h2><strong><b>Quay t<\/b><\/strong><strong><b>r\u1edf l\u1ea1i <\/b><\/strong><strong><b>ph\u00e2n t\u00edch<\/b><\/strong><strong><b>\u00a0ECDSA v\u00e0 Bitcoin<\/b><\/strong><\/h2>\n<p>Giao th\u1ee9c <a href=\"https:\/\/bitcoinvn.io\/vi\/?deposit=vnd&amp;settle=btc&amp;utm_source=Google&amp;utm_medium=toan-hoc-dang-sau-bitcoin&amp;utm_id=SEO2023\" target=\"_blank\" rel=\"noopener\">Bitcoin<\/a> ch\u1ecdn m\u1ed9t t\u1eadp c\u00e1c tham s\u1ed1 cho c\u00e1c \u0111\u01b0\u1eddng cong elliptic v\u00e0 tr\u01b0\u1eddng h\u1eefu h\u1ea1n c\u1ee7a n\u00f3\u00a0\u0111\u1ec3 \u00e1p d\u1ee5ng c\u1ed1 \u0111\u1ecbnh cho t\u1ea5t c\u1ea3 ng\u01b0\u1eddi d\u00f9ng giao th\u1ee9c. C\u00e1c th\u00f4ng s\u1ed1 n\u00e0y bao g\u1ed3m: c\u00e1c\u00a0<strong><b>ph\u01b0\u01a1ng tr\u00ecnh<\/b><\/strong>,\u00a0<strong><b>modulo s\u1ed1 nguy\u00ean t\u1ed1<\/b><\/strong>\u00a0c\u1ee7a tr\u01b0\u1eddng n\u00e0y, v\u00e0 m\u1ed9t\u00a0<strong><b>\u0111i\u1ec3m c\u01a1 s\u1edf<\/b><\/strong>\u00a0n\u1eb1m tr\u00ean \u0111\u01b0\u1eddng cong.\u00a0<strong><b>B\u1eadc<\/b><\/strong>\u00a0c\u1ee7a \u0111i\u1ec3m c\u01a1 s\u1edf kh\u00f4ng \u0111\u01b0\u1ee3c l\u1ef1a ch\u1ecdn \u0111\u1ed9c l\u1eadp m\u00e0 l\u00e0 m\u1ed9t h\u00e0m c\u1ee7a\u00a0nhi\u1ec1u th\u00f4ng s\u1ed1 kh\u00e1c. Ch\u00fang\u00a0c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c xem nh\u01b0 s\u1ed1 l\u1ea7n \u0111i\u1ec3m \u0111\u00f3 c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c c\u1ed9ng v\u00e0o ch\u00ednh n\u00f3 cho t\u1edbi khi \u0111\u1ed9 d\u1ed1c c\u1ee7a n\u00f3 l\u00e0 v\u00f4 h\u1ea1n (t\u1ee9c l\u00e0 m\u1ed9t \u0111\u01b0\u1eddng th\u1eb3ng \u0111\u1ee9ng). C\u00e1c \u0111i\u1ec3m c\u01a1 s\u1edf \u0111\u01b0\u1ee3c l\u1ef1a ch\u1ecdn sao cho b\u1eadc l\u00e0 m\u1ed9t s\u1ed1 nguy\u00ean t\u1ed1 l\u1edbn.<\/p>\n<p>\u0110\u1ed1i v\u1edbi \u0111i\u1ec3m c\u01a1 s\u1edf, modulo nguy\u00ean t\u1ed1, v\u00e0 b\u1eadc, Bitcoin th\u01b0\u1eddng s\u1eed d\u1ee5ng c\u00e1c con s\u1ed1 r\u1ea5t l\u1edbn.\u00a0T\u1ea5t c\u1ea3 c\u00e1c \u1ee9ng d\u1ee5ng th\u1ef1c t\u1ebf c\u1ee7a ECDSA\u00a0\u0111\u1ec1u\u00a0s\u1eed d\u1ee5ng c\u00e1c gi\u00e1 tr\u1ecb r\u1ea5t l\u1edbn.\u00a0An ninh c\u1ee7a c\u00e1c thu\u1eadt to\u00e1n b\u1ea3o m\u1eadt d\u1ef1a tr\u00ean c\u00e1c gi\u00e1 tr\u1ecb l\u1edbn. Do \u0111\u00f3\u00a0r\u1ea5t kh\u00f3 c\u00f3 ai \u0111\u1ea3o ng\u01b0\u1ee3c ho\u1eb7c t\u1ea5n c\u00f4ng\u00a0h\u00e0ng r\u00e0o b\u1ea3o m\u1eadt c\u1ee7a Bitcoin\u00a0b\u1eb1ng c\u00e1c ph\u00e9p th\u1eed t\u1ea5n c\u00f4ng l\u1ea7n l\u01b0\u1ee3t.<\/p>\n<p>\u0110\u1ed1i v\u1edbi Bitcoin:<\/p>\n<blockquote>\n<p style=\"text-align: left;\">Ph\u01b0\u01a1ng tr\u00ecnh \u0111\u01b0\u1eddng congElliptic l\u00e0:\u00a0y\u00a0<sup>2<\/sup>\u00a0= x\u00a0<sup>3<\/sup>\u00a0+ 7<\/p>\n<p style=\"text-align: left;\">Modulo nguy\u00ean t\u1ed1 =\u00a02<sup>256<\/sup>\u00a0\u2013 2<sup>32<\/sup>\u00a0\u2013 2<sup>9<\/sup>\u00a0\u2013 2<sup>8<\/sup>\u00a0\u2013 2<sup>7<\/sup>\u00a0\u2013 2<sup>6<\/sup>\u00a0\u2013 2<sup>4<\/sup>\u00a0\u2013 1 = FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFE FFFFFC2F<\/p>\n<p style=\"text-align: left;\">\u0110i\u1ec3m c\u01a1 s\u1edf = 04 79BE667E F9DCBBAC 55A06295 CE870B07 029BFCDB 2DCE28D9 59F2815B 16F81798 483ADA77 26A3C465 5DA4FBFC 0E1108A8 FD17B448 A6855419 9C47D08F FB10D4B8<\/p>\n<p style=\"text-align: left;\">B\u1eadc c\u1ee7a \u0111i\u1ec3m = FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFE BAAEDCE6 AF48A03B BFD25E8C D0364141<\/p>\n<\/blockquote>\n<p>C\u00e2u h\u1ecfi \u0111\u1eb7t ra l\u00e0: ai \u0111\u00e3 ch\u1ecdn nh\u1eefng con s\u1ed1 n\u00e0y v\u00e0 t\u1ea1i sao h\u1ecd l\u1ea1i l\u1ef1a ch\u1ecdn? \u0110\u00e3 c\u00f3 r\u1ea5t nhi\u1ec1u <a href=\"https:\/\/web.archive.org\/web\/20170606010649\/http:\/\/perso.univ-rennes1.fr\/sylvain.duquesne\/master\/standards\/sec2_final.pdf\"><u>nghi\u00ean c\u1ee9u<\/u><\/a>, v\u00e0 m\u1ed9t l\u01b0\u1ee3ng kha kh\u00e1\u00a0<a href=\"https:\/\/web.archive.org\/web\/20170606010649\/http:\/\/it.slashdot.org\/story\/13\/09\/11\/1224252\/are-the-nist-standard-elliptic-curves-back-doored?utm_source=rss1.0mainlinkanon&amp;utm_medium=feed\"><u>nh\u1eefng thuy\u1ebft \u00e2m m\u01b0u<\/u><\/a>\u00a0xung quanh vi\u1ec7c l\u1ef1a ch\u1ecdn c\u00e1c th\u00f4ng s\u1ed1 n\u00eau tr\u00ean. Tuy nhi\u00ean, sau t\u1ea5t c\u1ea3, s\u1ed1 \u0111\u00f4ng c\u00e1c nghi\u00ean c\u1ee9u \u0111\u1ec1u \u0111\u1ec1u ch\u1ec9 ra l\u00e0 c\u00f3 m\u1ed9t ph\u01b0\u01a1ng ph\u00e1p backdoor \u0111\u1ec3 t\u00ecm ra kh\u00f3a private. Ph\u01b0\u01a1ng ph\u00e1p \u0111\u1eb7c bi\u1ec7t n\u00e0y c\u00f3 t\u00ean l\u00e0 secp256k1. Ch\u00fang l\u00e0\u00a0m\u1ed9t ph\u1ea7n \u0111\u01b0\u1eddng cong elliptic tr\u00ean tr\u01b0\u1eddng v\u00f4 h\u1ea1n\u00a0\u0111\u00e3 \u0111\u01b0\u1ee3c \u0111\u1ec1 xu\u1ea5t \u0111\u1ec3 s\u1eed d\u1ee5ng trong ng\u00e0nh m\u1eadt m\u00e3.<\/p>\n<h3><strong><b>K<\/b><\/strong><strong><b>h\u00f3a <\/b><\/strong><strong><b>Private v\u00e0 <\/b><\/strong><strong><b>kh\u00f3a <\/b><\/strong><strong><b>Public<\/b><\/strong><strong><b>\u00a0l\u00e0 g\u00ec?<\/b><\/strong><\/h3>\n<p>Ngay b\u00e2y gi\u1edd, ch\u00fang ta s\u1ebd c\u00f9ng t\u00ecm hi\u1ec3u nhanh v\u1ec1 kh\u00f3a c\u00f4ng khai (Public key) v\u00e0 kh\u00f3a ri\u00eang t\u01b0 (private key). Sau \u0111\u00f3 ch\u00fang ta s\u1ebd ph\u00e2n t\u00edch s\u1ef1 li\u00ean quan m\u1eadt thi\u1ebft c\u1ee7a ch\u00fang.<\/p>\n<p>Hi\u1ec3u m\u1ed9t c\u00e1ch \u0111\u01a1n gi\u1ea3n, trong ECDSA, kh\u00f3a ri\u00eang t\u01b0\u00a0l\u00e0 m\u1ed9t d\u00e3y s\u1ed1 ng\u1eabu nhi\u00ean, kh\u00f4ng ai c\u00f3 th\u1ec3 \u0111o\u00e1n \u0111\u01b0\u1ee3c. D\u00e3y s\u1ed1 n\u00e0y n\u1eb1m gi\u1eefa s\u1ed1 1 v\u00e0 b\u1eadc c\u1ee7a \u0111i\u1ec3m.\u00a0Trong khi \u0111\u00f3, kh\u00f3a c\u00f4ng khai \u0111\u01b0\u1ee3c t\u1ea1o n\u00ean t\u1eeb kh\u00f3a ri\u00eang b\u1eb1ng c\u00e1ch nh\u00e2n v\u00f4 h\u01b0\u1edbng kh\u00f3a ri\u00eang t\u01b0 v\u1edbi \u0111i\u1ec3m c\u01a1 s\u1edf. Ph\u01b0\u01a1ng tr\u00ecnh n\u00e0y \u0111\u01b0\u1ee3c bi\u1ec3u di\u1ec5n nh\u01b0 sau:<\/p>\n<blockquote>\n<p style=\"text-align: left;\"><em><i>Kh\u00f3a public = kh\u00f3a private * \u0111i\u1ec3m c\u01a1 s\u1edf<\/i><\/em><\/p>\n<\/blockquote>\n<p>Ph\u01b0\u01a1ng tr\u00ecnh n\u00e0y cho th\u1ea5y: s\u1ed1 l\u01b0\u1ee3ng t\u1ed1i \u0111a kh\u00f3a private\u00a0(c\u00e1c \u0111\u1ecba ch\u1ec9 Bitcoin) l\u00e0 b\u1eb1ng b\u1eadc c\u1ee7a \u0111i\u1ec3m.<\/p>\n<p>Trong m\u1ed9t tr\u01b0\u1eddng li\u00ean t\u1ee5c,\u00a0ch\u00fang ta c\u00f3 th\u1ec3 v\u1ebd \u0111\u01b0\u1eddng ti\u1ebfp tuy\u1ebfn v\u00e0 x\u00e1c \u0111\u1ecbnh kh\u00f3a public tr\u00ean \u0111\u1ed3 th\u1ecb. Tuy nhi\u00ean, c\u00f3 m\u1ed9t s\u1ed1\u00a0<a href=\"https:\/\/web.archive.org\/web\/20170606010649\/http:\/\/en.wikipedia.org\/wiki\/Elliptic_curve_point_multiplication\" target=\"_blank\" rel=\"noopener\"><u>ph\u01b0\u01a1ng tr\u00ecnh<\/u><\/a>\u00a0c\u00f3\u00a0th\u1ec3\u00a0th\u1ef1c hi\u1ec7n \u0111i\u1ec1u t\u01b0\u01a1ng t\u1ef1 trong b\u1ed1i c\u1ea3nh tr\u01b0\u1eddng h\u1eefu h\u1ea1n. T\u1eeb ph\u00e9p c\u1ed9ng \u0111i\u1ec3m<strong>\u00a0p + q<\/strong>\u00a0\u0111\u1ec3 t\u00ecm ra\u00a0<em><i>r<\/i><\/em>\u00a0\u0111\u01b0\u1ee3c x\u00e1c \u0111\u1ecbnh nh\u01b0 sau:<\/p>\n<blockquote>\n<p style=\"text-align: left;\">c = (q<sub>y<\/sub>\u00a0\u2013 p<sub>y<\/sub>) \/ (q<sub>x<\/sub>\u00a0\u2013 p<sub>x<\/sub>)<br \/>\nr<sub>x<\/sub>\u00a0= c<sup>2<\/sup>\u00a0\u2013 p<sub>x<\/sub>\u00a0\u2013 q<sub>x<\/sub><br \/>\nr<sub>y<\/sub>\u00a0= c (p<sub>x<\/sub>\u00a0\u2013 r<sub>x<\/sub>) \u2013 p<sub>y<\/sub><\/p>\n<\/blockquote>\n<p>\u0110\u1ed3ng th\u1eddi, t\u1eeb ph\u00e9p nh\u00e2n \u0111\u00f4i \u0111i\u1ec3m\u00a0<strong>p<\/strong>, ch\u00fang ta c\u00f3 th\u1ec3 t\u00ecm ra <strong>r<\/strong> nh\u01b0 sau:<\/p>\n<blockquote>\n<p style=\"text-align: left;\">c = (3p<sub>x<\/sub><sup>2<\/sup>\u00a0+ a) \/ 2p<sub>y<\/sub><br \/>\nr<sub>x<\/sub>\u00a0= c<sup>2<\/sup>\u00a0\u2013 2p<sub>x<\/sub><br \/>\nr<sub>y<\/sub>\u00a0= c (p<sub>x<\/sub>\u00a0\u2013 r<sub>x<\/sub>) \u2013 p<sub>y<\/sub><\/p>\n<\/blockquote>\n<p>Tr\u00ean th\u1ef1c t\u1ebf, qu\u00e1 tr\u00ecnh t\u00ednh to\u00e1n kh\u00f3a public \u0111\u01b0\u1ee3c chia th\u00e0nh c\u00e1c\u00a0ph\u00e9p nh\u00e2n \u0111\u00f4i \u0111i\u1ec3m v\u00e0 ph\u00e9p c\u1ed9ng \u0111i\u1ec3m \u00a0b\u1eaft \u0111\u1ea7u t\u1eeb \u0111i\u1ec3m c\u01a1 s\u1edf.<\/p>\n<p>\u0110\u1ec3 c\u00f3 c\u00e1i nh\u00ecn tr\u1ef1c quan v\u1ec1 v\u1ec1 \u0111\u1ec1 n\u00e0y, ch\u00fang ta h\u00e3y tham kh\u1ea3o m\u1ed9t s\u1ed1 v\u00ed d\u1ee5 v\u1edbi c\u00e1c con s\u1ed1 nh\u1ecf d\u01b0\u1edbi \u0111\u00e2y:<\/p>\n<blockquote>\n<p style=\"text-align: left;\">Ph\u01b0\u01a1ng tr\u00ecnh: y\u00a0<sup>2<\/sup>\u00a0= x\u00a0<sup>3<\/sup> + 7 (a = 0 v\u00e0 b = 7)<br \/>\nModulo nguy\u00ean t\u1ed1: 67<br \/>\n\u0110i\u1ec3m c\u01a1 b\u1ea3n: (2, 22)<br \/>\nB\u1eadc c\u1ee7a \u0111i\u1ec3m: 79<br \/>\nKh\u00f3a ri\u00eang: 2<\/p>\n<\/blockquote>\n<p>\u0110\u1ea7u ti\u00ean, h\u00e3y c\u00f9ng nhau t\u00ecm kh\u00f3a public\u00a0v\u1edbi <strong>kh\u00f3a private c\u00f3 gi\u00e1 tr\u1ecb =\u00a02<\/strong>. Ngay b\u00e2y gi\u1edd, ch\u00fang ta ch\u1ec9 c\u1ea7n th\u1ef1c hi\u1ec7n ph\u00e9p to\u00e1n nh\u00e2n \u0111\u00f4i \u0111i\u1ec3m m\u1ed9t l\u1ea7n t\u1eeb \u0111i\u1ec3m c\u01a1 s\u1edf:<\/p>\n<blockquote>\n<p style=\"text-align: left;\">c = (3 * 2<sup>2<\/sup>\u00a0+ 0) \/ (2 * 22) mod 67<br \/>\nc = (3 * 4) \/ (44) mod 67<br \/>\nc = 12 \/ 44 mod 67<\/p>\n<\/blockquote>\n<p><strong><b>H\u00e3y d\u1eebng l\u1ea1i \u0111\u1ec3 xem x\u00e9t m\u1ed9t v\u1ea5n \u0111\u1ec1 nh\u1ecf:<\/b><\/strong>\u00a0L\u00e0m sao \u0111\u1ec3 th\u1ef1c hi\u1ec7n m\u1ed9t ph\u00e9p chia v\u1edbi s\u1ed1 d\u01b0 thu\u1ed9c tr\u01b0\u1eddng h\u1eefu h\u1ea1n &#8211; n\u01a1i k\u1ebft qu\u1ea3 ph\u00e9p chia ph\u1ea3i lu\u00f4n l\u00e0 s\u1ed1 nguy\u00ean? V\u1edbi tr\u01b0\u1eddng h\u1ee3p n\u00e0y, ch\u00fang ta ph\u1ea3i l\u00e0m th\u00eam m\u1ed9t ph\u00e9p nh\u00e2n v\u1edbi ngh\u1ecbch \u0111\u1ea3o (n\u1ebfu b\u1ea1n quan t\u00e2m, c\u00f3 th\u1ec3 \u1edf\u00a0<a href=\"#Multiplicative_inverse\" target=\"_blank\" rel=\"noopener\"><u>\u0111\u00e2y<\/u><\/a>\u00a0v\u00e0\u00a0<a href=\"https:\/\/web.archive.org\/web\/20170606010649\/http:\/\/cdn.intechopen.com\/pdfs-wm\/29704.pdf\" target=\"_blank\" rel=\"noopener\"><u>\u1edf \u0111\u00e2y<\/u><\/a>). Trong tr\u01b0\u1eddng h\u1ee3p hi\u1ec7n t\u1ea1i, b\u1ea1n s\u1ebd ph\u1ea3i tin t\u01b0\u1edfng ch\u00fang t\u00f4i khi vi\u1ebft r\u1eb1ng:<\/p>\n<blockquote>\n<p style=\"text-align: left;\">44<sup>-1<\/sup>\u00a0= 32<\/p>\n<\/blockquote>\n<p>B\u00e2y gi\u1edd, ch\u00fang ta s\u1ebd ti\u1ebfp t\u1ee5c v\u1edbi c\u00e1c ph\u00e9p t\u00ednh:<\/p>\n<blockquote>\n<p style=\"text-align: left;\">c = 12 * 32 mod 67<br \/>\nc = 384 mod 67<br \/>\nc = 49<\/p>\n<p style=\"text-align: left;\">r<sub>x<\/sub>\u00a0= (49<sup>2<\/sup>\u00a0\u2013 2 * 2) mod 67<br \/>\nr<sub>x<\/sub>\u00a0= (2401 \u2013 4) mod 67<br \/>\nr<sub>x<\/sub>\u00a0= 2397 mod 67<br \/>\nr<sub>x<\/sub>\u00a0= 52<\/p>\n<p style=\"text-align: left;\">r<sub>y<\/sub>\u00a0= (49 * (2 \u2013 52) \u2013 22) mod 67<br \/>\nr<sub>y<\/sub>\u00a0= (49 * (-50) \u2013 22) mod 67<br \/>\nr<sub>y<\/sub>\u00a0= (-2450 \u2013 22) mod 67<br \/>\nr<sub>y<\/sub>\u00a0= -2472 mod 67<br \/>\nr<sub>y<\/sub>\u00a0= 7<\/p>\n<\/blockquote>\n<p>Nh\u01b0 v\u1eady, t\u1eeb k\u1ebft qu\u1ea3 tr\u00ean, kh\u00f3a public c\u1ee7a ch\u00fang ta t\u01b0\u01a1ng \u1ee9ng v\u1edbi \u0111i\u1ec3m\u00a0(52, 7). T\u1ea5t c\u1ea3 ch\u1ec9 \u0111\u1ec3 t\u00ednh cho kh\u00f3a ri\u00eang b\u1eb1ng 2!<\/p>\n<p>Nh\u00ecn chung, ph\u00e9p to\u00e1n <strong><b>\u0111i t\u1eeb kh\u00f3a <\/b><\/strong><strong><b>private t\u00ednh ra kh\u00f3a public<\/b><\/strong><strong><b>\u00a0<\/b><\/strong>l\u00e0 m\u1ed9t ph\u00e9p to\u00e1n kh\u00e1 \u0111\u01a1n gi\u1ea3n v\u00e0 c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c t\u00ednh tr\u00ean m\u00e1y t\u00ednh. \u00a0Tuy nhi\u00ean, n\u1ebfu mu\u1ed1n l\u00e0m ng\u01b0\u1ee3c l\u1ea1i &#8211; \u0111i t\u1eeb kh\u00f3a public sang kh\u00f3a private l\u1ea1i l\u00e0 m\u1ed9t ph\u01b0\u01a1ng \u00e1n kh\u00f4ng kh\u1ea3 thi. \u0110\u01a1n gi\u1ea3n v\u00ec c\u00e1c th\u00f4ng s\u1ed1 trong m\u1eadt m\u00e3 elliptic l\u00e0 r\u1ea5t l\u1edbn.<\/p>\n<p>N\u00f3i c\u00e1ch kh\u00e1c, vi\u1ec7c \u0111i t\u1eeb kh\u00f3a private \u0111\u1ec3 t\u00ednh ra kh\u00f3a public l\u00e0 <strong><b>chuy\u1ebfn \u0111i m\u1ed9t chi\u1ec1u<\/b><\/strong>\u00a0v\u00e0 kh\u00f4ng th\u1ec3 \u0111\u1ea3o ng\u01b0\u1ee3c.<\/p>\n<p>Th\u00f4ng th\u01b0\u1eddng, kh\u00f3a public th\u01b0\u1eddng \u0111\u01b0\u1ee3c \u0111\u1ea1i di\u1ec7n b\u1edfi m\u1ed9t chu\u1ed7i th\u1eadp l\u1ee5c ph\u00e2n. \u0110\u1ee3i \u0111\u00e3! L\u00e0m th\u1ebf n\u00e0o \u0111\u1ec3 ch\u00fang ta nh\u1eadn \u0111\u01b0\u1ee3c t\u1eeb m\u1ed9t \u0111i\u1ec3m tr\u00ean m\u1eb7t ph\u1eb3ng, \u0111\u01b0\u1ee3c m\u00f4 t\u1ea3 b\u1edfi hai con s\u1ed1, \u0111\u1ec3 ra m\u1ed9t s\u1ed1 duy nh\u1ea5t? Trong m\u1ed9t kh\u00f3a public kh\u00f4ng \u0111\u01b0\u1ee3c n\u00e9n, hai s\u1ed1 256-bit \u0111\u1ea1i di\u1ec7n cho c\u00e1c t\u1ecda \u0111\u1ed9\u00a0<em><i>x<\/i><\/em>\u00a0v\u00e0\u00a0<em><i>y<\/i><\/em>\u00a0\u0111\u01b0\u1ee3c \u0111\u00ednh v\u1edbi nhau trong m\u1ed9t chu\u1ed7i k\u00fd t\u1ef1 d\u00e0i. Ch\u00fang ta c\u0169ng c\u00f3 th\u1ec3 t\u1eadn d\u1ee5ng l\u1ee3i th\u1ebf c\u1ee7a t\u00ednh \u0111\u1ed1i x\u1ee9ng c\u1ee7a c\u00e1c \u0111\u01b0\u1eddng cong elliptic \u0111\u1ec3 t\u1ea1o ra m\u1ed9t kh\u00f3a public n\u00e9n, ch\u1ec9 b\u1eb1ng c\u00e1ch gi\u1eef gi\u00e1 tr\u1ecb\u00a0<em><i>x<\/i><\/em>\u00a0v\u00e0 ghi nh\u1eadn n\u1eeda n\u00e0o c\u1ee7a \u0111\u01b0\u1eddng cong m\u00e0 \u0111i\u1ec3m \u0111\u00f3 n\u1eb1m tr\u00ean. T\u1eeb ph\u1ea7n th\u00f4ng tin n\u00e0y, ch\u00fang ta c\u00f3 th\u1ec3 ph\u1ee5c h\u1ed3i c\u1ea3 hai t\u1ecda \u0111\u1ed9.<\/p>\n<h2><strong><b>C\u00e1ch t\u1ea1o ra ch\u1eef k\u00fd ph\u00ea duy\u1ec7t m\u1ed9t s\u1ed1 d\u1eef li\u1ec7u v\u1edbi kh\u00f3a Private<\/b><\/strong><\/h2>\n<p>Gi\u1ea3 s\u1eed ch\u00fang ta \u0111ang c\u00f3 m\u1ed9t c\u1eb7p kh\u00f3a private v\u00e0 kh\u00f3a public, qu\u00e1 tr\u00ecnh t\u1ea1o ra ch\u1eef k\u00fd ph\u00ea duy\u1ec7t d\u1eef li\u1ec7u s\u1ebd \u0111\u01b0\u1ee3c di\u1ec5n ra nh\u01b0 sau:<\/p>\n<p>B\u1ea1n bi\u1ebft \u0111\u1ea5y, c\u00e1c d\u1eef li\u1ec7u c\u00f3 th\u1ec3 c\u00f3 \u0111\u1ed9 d\u00e0i b\u1ea5t k\u1ef3. Th\u00f4ng th\u01b0\u1eddng, qu\u00e1 tr\u00ecnh t\u1ea1o ra ch\u1eef k\u00fd s\u1ebd b\u1eaft \u0111\u1ea7u b\u1eb1ng b\u01b0\u1edbc b\u0103m (hash) d\u1eef li\u1ec7u \u0111\u1ec3 t\u1ea1o ra m\u1ed9t s\u1ed1 c\u00f3 ch\u1ee9a c\u00f9ng m\u1ed9t s\u1ed1 bit (256) nh\u01b0 b\u1eadc c\u1ee7a \u0111i\u1ec3m c\u1ee7a \u0111\u01b0\u1eddng cong. Tuy nhi\u00ean, \u0111\u1ec3 gi\u00fap b\u1ea1n d\u1ec5 hi\u1ec3u h\u01a1n, ch\u00fang ta s\u1ebd b\u1ecf qua b\u01b0\u1edbc b\u0103m v\u00e0 ch\u1ec9 k\u00fd\u00a0d\u1eef li\u1ec7u th\u00f4\u00a0<strong><em><b><i>z<\/i><\/b><\/em><\/strong>. N\u1ebfu g\u1ecdi <strong><b>G<\/b><\/strong>\u00a0l\u00e0 \u0111i\u1ec3m c\u01a1 s\u1edf,\u00a0<strong><em><b><i>n<\/i><\/b><\/em><\/strong>\u00a0l\u00e0 b\u1eadc c\u1ee7a \u0111i\u1ec3m\u00a0v\u00e0<strong><b>\u00a0<\/b><\/strong><strong><em><b><i>d<\/i><\/b><\/em><\/strong>\u00a0l\u00e0 kh\u00f3a private. Qu\u00e1 tr\u00ecnh t\u1ea1o ra ch\u1eef k\u00fd s\u1ebd tr\u1ea3i qua 5 b\u01b0\u1edbc:<\/p>\n<ul>\n<li>B\u01b0\u1edbc 1: Ch\u1ecdn m\u1ed9t s\u1ed1 nguy\u00ean\u00a0<em><i>k<\/i><\/em>trong gi\u1edbi h\u1ea1n gi\u1eefa 1 v\u00e0 n \u2013 1.<\/li>\n<li>B\u01b0\u1edbc 2: T\u00ednh \u0111i\u1ec3m (x, y) =\u00a0<em><i>k<\/i><\/em>* G\u00a0b\u1eb1ng c\u00e1ch s\u1eed d\u1ee5ng ph\u00e9p nh\u00e2n v\u00f4 h\u01b0\u1edbng<\/li>\n<li>B\u01b0\u1edbc 3: T\u00ecm r = x mod n. N\u1ebfu r = 0,b\u1ea1n c\u1ea7n quay l\u1ea1i\u00a0b\u01b0\u1edbc 1.<\/li>\n<li>B\u01b0\u1edbc 4: T\u00ecm s = (z + r * d) \/ k mod n. N\u1ebfu s = 0, b\u1ea1n s\u1ebd ti\u1ebfp t\u1ee5c l\u1ea1i b\u01b0\u1edbc 1<\/li>\n<li>B\u01b0\u1edbc 5: T\u1ea1o ra ch\u1eef k\u00fd l\u00e0 c\u1eb7p (r, s)<\/li>\n<\/ul>\n<p><strong><em><b><i>L\u01b0u \u00fd:<\/i><\/b><\/em><\/strong><em><i>\u00a0<\/i><\/em><em><i>Trong b\u01b0\u1edbc 1,<\/i><\/em><em><i>\u00a0b\u1ea1n ph\u1ea3i ch\u1ecdn <\/i><\/em><strong><em><b><i>k ng\u1eabu nhi\u00ean, <\/i><\/b><\/em><\/strong><em><i>kh\u00f4ng \u0111\u01b0\u1ee3c l\u1eb7p l\u1ea1i trong b\u1ea5t k\u1ef3 ch\u1eef k\u00fd n\u00e0o v\u00e0 k <\/i><\/em><em><i>kh\u00f4ng th\u1ec3 <\/i><\/em><em><i>b\u1ecb b\u00ean th\u1ee9 ba n\u00e0o \u0111\u00f3 \u0111o\u00e1n ra<\/i><\/em><em><i>. <\/i><\/em><em><i>N\u1ebfu b\u00ean th\u1ee9 ba ph\u00e1t hi\u1ec7n ra k, h\u1ecd ho\u00e0n to\u00e0n c\u00f3 th\u1ec3 t\u00ecm ra kh\u00f3a <\/i><\/em><em><i>private <\/i><\/em><em><i>trong<\/i><\/em><em><i>\u00a0b\u01b0\u1edbc 4<\/i><\/em><em><i>\u00a0(\u0111\u01a1n gi\u1ea3n <\/i><\/em><em><i>v\u00ec\u00a0<\/i><\/em><em><i>s, z, r,<\/i><\/em><em><i>\u00a0<\/i><\/em><em><i>k<\/i><\/em><em><i>\u00a0v\u00e0\u00a0<\/i><\/em><em><i>n<\/i><\/em><em><i>\u00a0\u0111\u1ec1u \u0111\u01b0\u1ee3c bi\u1ebft<\/i><\/em><em><i>)<\/i><\/em><em><i>. <\/i><\/em><em><i>\u0110\u1ec3 hi\u1ec3u h\u01a1n v\u1ec1 qu\u00e1 tr\u00ecnh t\u1ea5n c\u00f4ng khi b\u00ean th\u1ee9 ba \u0111o\u00e1n ra k, b\u1ea1n c\u00f3 th\u1ec3 \u0111\u1ecdc v\u1ec1 m\u1ed9t tr\u01b0\u1eddng h\u1ee3p t\u1ea5n c\u00f4ng t\u01b0\u01a1ng t\u1ef1 <\/i><\/em><a href=\"https:\/\/web.archive.org\/web\/20170606010649\/http:\/arstechnica.com\/gaming\/2010\/12\/ps3-hacked-through-poor-implementation-of-cryptography\/\" target=\"_blank\" rel=\"noopener\"><em><u><i>t\u1ea1i \u0111\u00e2y<\/i><\/u><\/em><\/a><em><i>.<\/i><\/em><\/p>\n<p>\u0110\u1ec3 hi\u1ec3u h\u01a1n v\u1ec1 c\u00f4ng th\u1ee9c tr\u00ean, m\u1eddi b\u1ea1n tham kh\u1ea3o v\u00ed d\u1ee5 sau:<\/p>\n<p>Gi\u1ea3 s\u1eed, ch\u00fang ta ch\u1ecdn d\u1eef li\u1ec7u l\u00e0 s\u1ed1 17 v\u1edbi c\u00e1c bi\u1ebfn s\u1ed1:<\/p>\n<blockquote>\n<p style=\"text-align: left;\"><em><i>z = 17<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>n = 79<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>G = (2, 22) <\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>d = 2 <\/i><\/em><\/p>\n<\/blockquote>\n<p><strong>B\u01b0\u1edbc 1:<\/strong> ch\u1ecdn 1 s\u1ed1 k ng\u1eabu nhi\u00ean: <strong>k = rand (1, n \u2013 1)<\/strong><\/p>\n<blockquote>\n<p style=\"text-align: left;\">k = rand (1, 79 \u2013 1)<br \/>\nk = 3 (d\u00f9 s\u1ed1 n\u00e0y kh\u00f4ng th\u1ef1c s\u1ef1 ng\u1eabu nhi\u00ean nh\u01b0ng ch\u00fang s\u1ebd gi\u00fap ch\u00fang ta ph\u00e2n t\u00edch qu\u00e1 tr\u00ecnh t\u1ea1o ra ch\u1eef k\u00fd m\u1ed9t d\u1ec5 d\u00e0ng v\u00e0 d\u1ec5 hi\u1ec3u)<\/p>\n<\/blockquote>\n<p><strong>B\u01b0\u1edbc 2<\/strong>: T\u00ednh \u0111i\u1ec3m. Qu\u00e1 tr\u00ecnh n\u00e0y s\u1ebd \u0111\u01b0\u1ee3c t\u00ednh theo c\u00e1ch x\u00e1c \u0111\u1ecbnh kh\u00f3a public. Tuy nhi\u00ean, \u0111\u1ec3 v\u00ed d\u1ee5 tr\u1edf n\u00ean ng\u1eafn g\u1ecdn s\u00fac t\u00edch,<span style=\"color: #ffffff;\">.<\/span>ch\u00fang ta s\u1ebd b\u1ecf qua ph\u00e9p c\u1ed9ng \u0111i\u1ec3m v\u00e0 nh\u00e2n \u0111\u00f4i \u0111i\u1ec3m s\u1ed1 h\u1ecdc.<\/p>\n<blockquote>\n<p style=\"text-align: left;\"><em><i>(x, y) = 3G<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>(x, y) = G + 2G<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>(x, y) = (2, 22) + (52, 7)<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>(x, y) = (62, 63)<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>x = 62<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>y = 63<\/i><\/em><\/p>\n<\/blockquote>\n<p><strong>B\u01b0\u1edbc 3:<\/strong> T\u00ecm\u00a0<em><i><strong>r<\/strong>:<\/i><\/em><\/p>\n<blockquote>\n<p style=\"text-align: left;\"><em><i>r = x mod n<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>r = 62 mod 79<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>r = 62<\/i><\/em><\/p>\n<\/blockquote>\n<p><strong>B\u01b0\u1edbc 4:<\/strong> T\u00ecm\u00a0<em><i><strong>s<\/strong>:<\/i><\/em><\/p>\n<blockquote>\n<p style=\"text-align: left;\"><em><i>s = (z + r * d) \/ k mod n<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>s = (17 + 62 * 2) \/ 3 mod 79<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>s = (17 + 124) \/ 3 mod 79<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>s = 141\/3 mod 79<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>s = 47 mod 79<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>s = 47<\/i><\/em><\/p>\n<\/blockquote>\n<p><strong>B\u01b0\u1edbc 5:<\/strong> Ch\u00fang ta thu \u0111\u01b0\u1ee3c ch\u1eef k\u00fd:<\/p>\n<blockquote>\n<p style=\"text-align: left;\">\u00a0(r, s) = (62, 47)<\/p>\n<\/blockquote>\n<p>T\u01b0\u01a1ng t\u1ef1 nh\u01b0 c\u00e1c kh\u00f3a private v\u00e0 kh\u00f3a public,<span style=\"color: #ffffff;\">.<\/span>ch\u1eef k\u00fd n\u00e0y th\u01b0\u1eddng \u0111\u01b0\u1ee3c \u0111\u1ea1i di\u1ec7n b\u1edfi m\u1ed9t chu\u1ed7i th\u1eadp l\u1ee5c ph\u00e2n.<\/p>\n<h3><strong><b>S\u1eed d\u1ee5ng ch\u1eef k\u00fd \u0111\u1ec3 x\u00e1c minh giao d\u1ecbch <\/b><\/strong><\/h3>\n<p>L\u00fac n\u00e0y \u0111\u00e2y, ch\u00fang ta \u0111\u00e3 c\u00f3 d\u1eef li\u1ec7u v\u00e0 ch\u1eef k\u00fd \u0111\u1ec3 x\u00e1c minh d\u1eef li\u1ec7u \u0111\u00f3. Khi m\u1ed9t b\u00ean th\u1ee9 ba n\u00e0o \u0111\u00f3 n\u1eafm gi\u1eef kh\u00f3a Public c\u1ee7a ch\u00fang ta,<span style=\"color: #ffffff;\">.<\/span>h\u1ecd ho\u00e0n to\u00e0n c\u00f3 kh\u1ea3 n\u0103ng nh\u1eadn \u0111\u01b0\u1ee3c d\u1eef li\u1ec7u v\u00e0 ch\u1eef k\u00fd m\u00e0 ch\u00fang ta g\u1eedi. H\u1ecd c\u0169ng c\u00f3 th\u1ec3 x\u00e1c minh ch\u1eafc ch\u1eafn r\u1eb1ng ch\u00fang ta ch\u00ednh l\u00e0 nh\u1eefng ng\u01b0\u1eddi g\u1eedi d\u1eef li\u1ec7u \u0111\u00f3.<\/p>\n<p>G\u1ecdi Q l\u00e0 kh\u00f3a c\u00f4ng khai v\u1edbi c\u00e1c bi\u1ebfn \u0111\u01b0\u1ee3c x\u00e1c \u0111\u1ecbnh nh\u01b0 tr\u01b0\u1edbc \u0111\u00e2y. Qu\u00e1 tr\u00ecnh x\u00e1c minh ch\u1eef k\u00fd s\u1ebd \u0111\u01b0\u1ee3c th\u1ec3 hi\u1ec7n nh\u01b0 sau:<\/p>\n<ul>\n<li>B\u01b0\u1edbc 1: X\u00e1c minh r v\u00e0 s n\u1eb1m trong ph\u1ea1m vi 1 v\u00e0 n \u2013 1.<\/li>\n<li>B\u01b0\u1edbc 2: T\u00ednh w = s<sup>-1<\/sup> mod n<\/li>\n<li>B\u01b0\u1edbc 3: T\u00ednh u = z * w mod n<\/li>\n<li>B\u01b0\u1edbc 4: X\u00e1c \u0111\u1ecbnh v = r * w mod n<\/li>\n<li>B\u01b0\u1edbc 5: T\u00ednh \u0111i\u1ec3m (x, y) = uG + vQ<\/li>\n<li>B\u01b0\u1edbc 6: X\u00e1c minh r = x mod n.<\/li>\n<\/ul>\n<p>Trong tr\u01b0\u1eddng h\u1ee3p ph\u01b0\u01a1ng tr\u00ecnh n\u00e0y kh\u00f4ng \u0111\u00fang th\u00ec ch\u1eef k\u00fd kh\u00f4ng h\u1ee3p l\u1ec7.<\/p>\n<p>L\u00fac n\u00e0y, c\u00e2u h\u1ecfi \u0111\u1eb7t ra l\u00e0: t\u1ea1i sao c\u00f3 th\u1ec3 d\u00f9ng c\u00e1c b\u01b0\u1edbc tr\u00ean \u0111\u00e2y<span style=\"color: #ffffff;\">.<\/span>\u0111\u1ec3 x\u00e1c minh ch\u1eef k\u00fd? H\u00e3y t\u00ecm hi\u1ec3u th\u00eam th\u00f4ng tin chi ti\u1ebft <a href=\"#Correctness_of_the_algorithm\" target=\"_blank\" rel=\"noopener\"><u>\u1edf \u0111\u00e2y<\/u><\/a>.<\/p>\n<p>Quay tr\u1edf l\u1ea1i v\u1edbi quy tr\u00ecnh x\u00e1c minh ch\u1eef k\u00fd ban \u0111\u1ea7u,<span style=\"color: #ffffff;\">.<\/span>\u0111\u1ec3 hi\u1ec3u r\u00f5 h\u01a1n v\u1ec1 c\u00e1c b\u01b0\u1edbc n\u00eau tr\u00ean, m\u1eddi b\u1ea1n tham kh\u1ea3o v\u00ed d\u1ee5 sau:<\/p>\n<p>Gi\u1ea3 s\u1eed ch\u00fang ta c\u00f3:<\/p>\n<blockquote>\n<p style=\"text-align: left;\">z = 17<\/p>\n<p style=\"text-align: left;\">(r, s) = (62, 47)<\/p>\n<p style=\"text-align: left;\">n = 79<\/p>\n<p style=\"text-align: left;\">G = (2, 22)<\/p>\n<p style=\"text-align: left;\">Q = (52, 7)<\/p>\n<\/blockquote>\n<p>B\u00e2y gi\u1edd, ch\u00fang ta s\u1ebd tu\u1ea7n t\u1ef1 x\u00e1c minh theo c\u00e1c b\u01b0\u1edbc t\u1eeb 1 \u0111\u1ebfn 6<\/p>\n<ul>\n<li><strong>B\u01b0\u1edbc 1<\/strong>: x\u00e1c minh <strong>r<\/strong> v\u00e0<strong> s<\/strong> n\u1eb1m trong kho\u1ea3ng t\u1eeb <strong>1 \u0111\u1ebfn n-1<\/strong><\/li>\n<\/ul>\n<p>Ta c\u00f3:<\/p>\n<blockquote>\n<p style=\"text-align: left;\"><em><i>r: 1 &lt;= 62 &lt;79<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>s: 1 &lt;= 47 &lt;79<\/i><\/em><\/p>\n<\/blockquote>\n<p>Nh\u01b0 v\u1eady, r v\u00e0 s th\u1ecfa m\u00e3n b\u01b0\u1edbc 1.<\/p>\n<ul>\n<li><strong>B\u01b0\u1edbc 2<\/strong>: T\u00ednh gi\u00e1 tr\u1ecb c\u1ee7a <strong>w<\/strong><\/li>\n<\/ul>\n<blockquote>\n<p style=\"text-align: left;\">w = s<sup>-1<\/sup>\u00a0mod n<br \/>\nw = 47<sup>-1<\/sup>\u00a0mod 79<br \/>\nw = 37<\/p>\n<\/blockquote>\n<ul>\n<li><strong>B\u01b0\u1edbc 3<\/strong>: T\u00ednh gi\u00e1 tr\u1ecb c\u1ee7a <em><i><strong>u<\/strong>:<\/i><\/em><\/li>\n<\/ul>\n<p><em><i>u = zw mod n<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>u = 17 * 37 mod 79<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>u = 629 mod 79<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>u = 76<\/i><\/em><\/p>\n<ul>\n<li><strong>B\u01b0\u1edbc 4<\/strong>: T\u00ednh gi\u00e1 tr\u1ecb c\u1ee7a <strong>v<\/strong><em><i>:<\/i><\/em><\/li>\n<\/ul>\n<blockquote>\n<p style=\"text-align: left;\"><em><i>v = rw mod n<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>v = 62 * 37 mod 79<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>v = 2294 mod 79<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>v = 3<\/i><\/em><\/p>\n<\/blockquote>\n<ul>\n<li><strong>B\u01b0\u1edbc 5<\/strong>: T\u00ednh \u0111i\u1ec3m<strong>\u00a0<\/strong><em><i><strong>(x, y)<\/strong>:<\/i><\/em><\/li>\n<\/ul>\n<blockquote>\n<p style=\"text-align: left;\"><em><i>(x, y) = uG + vQ<\/i><\/em><\/p>\n<\/blockquote>\n<p>Ti\u1ebfp theo, ch\u00fang ta h\u00e3y t\u00e1ch <strong>uG\u00a0<\/strong>v\u00e0 <strong>vQ<\/strong> sau \u0111\u00f3 t\u00ednh to\u00e1n<span style=\"color: #ffffff;\">.<\/span>d\u1ef1a tr\u00ean ph\u00e9p C\u1ed9ng \u0111i\u1ec3m v\u00e0 ph\u00e9p Nh\u00e2n \u0111\u00f4i \u0111i\u1ec3m:<\/p>\n<blockquote>\n<p style=\"text-align: left;\"><em><i>uG = 76G<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>uG = 2(38G)<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>uG = 2( 2(19G) )<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>uG = 2( 2(G + 18G) )<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>uG = 2( 2(G + 2(9G) ) )<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>uG = 2( 2(G + 2(G + 8G) ) )<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>uG = 2( 2(G + 2(G + 2(4G) ) ) )<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>uG = 2( 2(G + 2(G + 2( 2(2G) ) ) ) )<\/i><\/em><\/p>\n<\/blockquote>\n<p>Vi\u1ec7c s\u1eed d\u1ee5ng ph\u00e9p nh\u00f3m l\u1ea1i nh\u01b0 tr\u00ean gi\u00fap ch\u00fang ta gi\u1ea3m t\u1eeb 75 ph\u00e9p c\u1ed9ng \u0111i\u1ec3m li\u00ean t\u1ee5c xu\u1ed1ng c\u00f2n<span style=\"color: #ffffff;\">.<\/span>6 l\u1ea7n th\u1ef1c hi\u1ec7n ph\u00e9p nh\u00e2n \u0111\u00f4i \u0111i\u1ec3m v\u00e0 2 l\u1ea7n th\u1ef1c hi\u1ec7n ph\u00e9p c\u1ed9ng \u0111i\u1ec3m. Khi c\u00e1c con s\u1ed1 c\u00e0ng l\u1edbn th\u00ec nh\u1eefng th\u1ee7 thu\u1eadt n\u00e0y<span style=\"color: #ffffff;\">.<\/span>c\u00e0ng gi\u00fap ch\u00fang ta r\u00fat ng\u1eafn th\u1eddi gian t\u00ednh to\u00e1n.<\/p>\n<p>B\u00e2y gi\u1edd, ch\u00fang ta s\u1ebd c\u00f9ng t\u00ednh to\u00e1n nh\u00e9!<\/p>\n<blockquote>\n<p style=\"text-align: left;\"><em><i>uG = 2( 2(G + 2(G + 2( 2( 2(2, 22) ) ) ) ) )<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>uG = 2( 2(G + 2(G + 2( 2(52, 7) ) ) ) )<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>uG = 2( 2(G + 2(G + 2(25, 17) \u00a0) ) )<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>uG = 2( 2(G + 2( (2, 22) + (21, 42) ) ) )<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>uG =\u00a02( 2(G + 2(13, 44) ) )<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>uG = 2( 2( (2, 22) + (66, 26) ) )<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>uG = 2( 2(38, 26) )<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>uG = 2(27, 40)<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>uG = (62, 4)<\/i><\/em><\/p>\n<\/blockquote>\n<p>Ti\u1ebfp theo, ch\u00fang ta s\u1ebd c\u00f9ng t\u00ednh cho vQ:<\/p>\n<blockquote>\n<p style=\"text-align: left;\"><em><i>vQ = 3Q<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>vQ = Q + 2Q<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>vQ = Q + 2(52, 7)<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>vQ = (52, 7) + (25, 17)<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>vQ = (11, 20)<\/i><\/em><\/p>\n<\/blockquote>\n<p>Cu\u1ed1i c\u00f9ng, h\u00e3y g\u1ed9p ch\u00fang l\u1ea1i v\u1edbi nhau:<\/p>\n<blockquote>\n<p style=\"text-align: left;\"><em><i>(x, y) = uG + vQ<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>(x, y) = (62, 4) + (11, 20)<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>(x, y) = (62, 63)<\/i><\/em><\/p>\n<\/blockquote>\n<p>Cu\u1ed1i c\u00f9ng, ch\u00fang ta x\u00e1c minh t\u00ednh \u0111\u00fang \u0111\u1eafn c\u1ee7a ch\u1eef k\u00fd b\u1eb1ng ph\u01b0\u01a1ng tr\u00ecnh <strong>r = x mod n<\/strong><\/p>\n<blockquote>\n<p style=\"text-align: left;\"><em><i>r = x mod n<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>62 = 62 mod 79<\/i><\/em><em><i><br \/>\n<\/i><\/em><em><i>62 = 62<\/i><\/em><\/p>\n<\/blockquote>\n<p>Nh\u01b0 v\u1eady, ch\u1eef k\u00fd c\u1ee7a ch\u00fang ta nh\u1eadn \u0111\u01b0\u1ee3c ho\u00e0n to\u00e0n l\u00e0 h\u1ee3p l\u1ec7!<\/p>\n<h3><strong><b>K\u1ebft lu\u1eadn<\/b><\/strong><\/h3>\n<p>T\u1eeb c\u00e1c ph\u01b0\u01a1ng tr\u00ecnh to\u00e1n h\u1ecdc n\u00eau tr\u00ean, ta th\u1ea5y: <strong>Kh\u00f3a public v\u00e0 kh\u00f3a private c\u1ee7a <a href=\"https:\/\/bitcoinvn.io\/vi\/?deposit=vnd&amp;settle=btc&amp;utm_source=Google&amp;utm_medium=toan-hoc-dang-sau-bitcoin&amp;utm_id=SEO2023\" target=\"_blank\" rel=\"noopener\">Bitcoin<\/a> lu\u00f4n c\u00f3 m\u1ed9t m\u1ed1i quan h\u1ec7 s\u00e2u s\u1eafc<\/strong>. V\u00e0 b\u1ea1n bi\u1ebft \u0111\u1ea5y, \u0111\u1eb1ng sau nh\u1eefng ch\u1eef k\u00fd v\u00e0 x\u00e1c minh \u0111\u01a1n gi\u1ea3n l\u00e0 nh\u1eefng ph\u00e9p to\u00e1n ph\u1ee9c t\u1ea1p. Nh\u1ea5t l\u00e0 c\u00e1c th\u00f4ng s\u1ed1 li\u00ean quan \u0111\u1ebfn nh\u1eefng con s\u1ed1 \u00a0256-bit\u00a0th\u00ec \u0111\u1ed9 ph\u1ee9c t\u1ea1p l\u1ea1i c\u00e0ng cao.<\/p>\n<p>V\u00e0 c\u00f3 m\u1ed9t \u0111i\u1ec1u quan tr\u1ecdng ch\u00fang ta ph\u1ea3i th\u1eeba nh\u1eadn r\u1eb1ng: c\u00e1c \u1ee9ng d\u1ee5ng th\u00f4ng minh c\u1ee7a c\u00e1c th\u1ee7 thu\u1eadt to\u00e1n h\u1ecdc \u0111\u01a1n gi\u1ea3n nh\u1ea5t<span style=\"color: #ffffff;\">.<\/span>ho\u00e0n to\u00e0n c\u00f3 th\u1ec3 t\u1ea1o ra nh\u1eefng \u201cc\u00e1i b\u1eaby\u201d m\u1ed9t chi\u1ec1u \u0111\u1ec3 b\u1ea3o v\u1ec7 quy\u1ec1n s\u1edf h\u1eefu Bitcoin. Qua \u0111\u00f3, ch\u00fang ta c\u00f3 th\u1ec3 tin v\u00e0o s\u1ee9c m\u1ea1nh c\u1ee7a h\u1ec7 th\u1ed1ng<span style=\"color: #ffffff;\">.<\/span>v\u00e0 lu\u00f4n c\u1ea9n th\u1eadn b\u1ea3o v\u1ec7 c\u00e1c th\u00f4ng tin kh\u00f3a private \u0111\u1ec3 gi\u1eef an to\u00e0n cho \u0111\u1ed3ng ti\u1ec1n c\u1ee7a m\u00ecnh.<\/p>\n<p>T\u1ea5t c\u1ea3 nh\u1eefng c\u00f4ng th\u1ee9c n\u00eau tr\u00ean gi\u1ea3i th\u00edch l\u00fd do t\u1ea1i sao nhi\u1ec1u ng\u01b0\u1eddi nh\u1eadn \u0111\u1ecbnh r\u1eb1ng\u00a0<strong><b>Bitcoin \u0111\u01b0\u1ee3c \u201cs\u1ef1 \u1ee7ng h\u1ed9 c\u1ee7a to\u00e1n h\u1ecdc.<\/b><\/strong>\u201d<\/p>\n<p>Hi v\u1ecdng, b\u00e0i vi\u1ebft n\u00e0y \u0111\u00e3 \u0111em \u0111\u1ebfn cho b\u1ea1n nhi\u1ec1u ki\u1ebfn th\u1ee9c b\u1ed5 \u00edch<span style=\"color: #ffffff;\">.<\/span>v\u00e0 gi\u00fap b\u1ea1n t\u1ef1 tin th\u1eed c\u00e1c ph\u00e9p to\u00e1n (h\u00e3y d\u00f9ng <a href=\"https:\/\/web.archive.org\/web\/20170606010649\/http:\/\/ptrow.com\/perl\/calculator.pl\" target=\"_blank\" rel=\"noopener\"><u>m\u00e1y t\u00ednh s\u1ed1 h\u1ecdc modular<\/u><\/a> \u0111\u1ec3 t\u00ednh to\u00e1n nhanh h\u01a1n nh\u00e9). V\u00e0 mong r\u1eb1ng, khi hi\u1ec3u s\u00e2u v\u1ec1 c\u00e1c b\u01b0\u1edbc c\u1ee7a vi\u1ec7c k\u00fd k\u1ebft c\u0169ng nh\u01b0 x\u00e1c minh d\u1eef li\u1ec7u b\u1eb1ng tay<span style=\"color: #ffffff;\">.<\/span>s\u1ebd gi\u00fap ch\u00fang ta hi\u1ec3u s\u00e2u s\u1eafc h\u01a1n v\u1ec1 m\u1eadt m\u00e3 \u0111\u1ea1i di\u1ec7n cho h\u00ecnh th\u1ee9c s\u1edf h\u1eefu \u0111\u1ed9c \u0111\u00e1o,<span style=\"color: #ffffff;\">.<\/span>ri\u00eang bi\u1ec7t c\u1ee7a \u0111\u1ed3ng ti\u1ec1n m\u00e3 h\u00f3a Bitcoin.<\/p>\n<p><em><i>***<\/i><\/em><\/p>\n<p style=\"text-align: center;\"><em><i>C\u1ea3m \u01a1n <\/i><\/em><em><i>anh <\/i><\/em><em><i>Steven Phelps \u0111\u00e3 gi\u00fap \u0111\u1ee1<\/i><\/em><em><i> ch\u00fang t\u00f4i th\u1ef1c hi\u1ec7n b\u00e0i vi\u1ebft n\u00e0y!<\/i><\/em><\/p>\n<p style=\"text-align: right;\"><strong><b>Ngu\u1ed3n<\/b><\/strong>:\u00a0<a href=\"https:\/\/web.archive.org\/web\/20170606010649\/http:\/\/blog.chain.com\/post\/95218566791\/the-math-behind-bitcoin\"><u>The Math behind Bitcoin \u2013 Chain.com<\/u><\/a><\/p>\n<p style=\"text-align: right;\"><a href=\"https:\/\/web.archive.org\/web\/20170606010649\/http:\/\/www.bitcoinvietnam.com.vn\/blog\/toan-hoc-dang-sau-bitcoin\/\" target=\"_blank\" rel=\"noopener\">B\u1ea3n d\u1ecbch g\u1ed1c<\/a> c\u1ee7a \u00f4ng Phil Tr\u1ecbnh \u0111\u00e3 \u0111\u01b0\u1ee3c <a href=\"https:\/\/bitcoinvn.io\/insights\">BitcoinVN News<\/a> bi\u00ean t\u1eadp l\u1ea1i<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0110\u1ed1i v\u1edbi nh\u1eefng ng\u01b0\u1eddi m\u1edbi b\u1eaft \u0111\u1ea7u, m\u1ed9t trong nh\u1eefng l\u00fd do khi\u1ebfn Bitcoin.tr\u1edf n\u00ean kh\u00f3 hi\u1ec3u ch\u00ednh l\u00e0: c\u00f4ng ngh\u1ec7 ph\u00eda sau n\u00f3 \u0111\u00e3 cho ch\u00fang ta m\u1ed9t \u0111\u1ecbnh ngh\u0129a ho\u00e0n to\u00e0n kh\u00e1c.v\u1ec1 kh\u00e1i ni\u1ec7m \u201cquy\u1ec1n s\u1edf h\u1eefu\u201d. V\u1eady quy\u1ec1n s\u1edf h\u1eefu trong Bitcoin l\u00e0 g\u00ec? L\u00e0m th\u1ebf n\u00e0o \u0111\u1ec3 t\u1ea1o ra kh\u00f3a ri\u00eang [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":9838,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[142],"tags":[],"class_list":["post-9837","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-basic-guide"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Ph\u00e2n t\u00edch To\u00e1n h\u1ecdc &quot;\u1ea9n gi\u1ea5u&quot; sau giao th\u1ee9c Bitcoin<\/title>\n<meta name=\"description\" content=\"M\u1eddi b\u1ea1n c\u00f9ng BitcoinVN \u0111i s\u00e2u ph\u00e2n t\u00edch c\u00e1c ph\u00e9p t\u00ednh To\u00e1n h\u1ecdc \u0111\u0103\u0300ng sau bitcoin va\u0300 ru\u0301t ra ba\u0300i ho\u0323c cho ri\u00eang mi\u0300nh nhe\u0301!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ph\u00e2n t\u00edch To\u00e1n h\u1ecdc &quot;\u1ea9n gi\u1ea5u&quot; sau giao th\u1ee9c Bitcoin\" \/>\n<meta property=\"og:description\" content=\"M\u1eddi b\u1ea1n c\u00f9ng BitcoinVN \u0111i s\u00e2u ph\u00e2n t\u00edch c\u00e1c ph\u00e9p t\u00ednh To\u00e1n h\u1ecdc \u0111\u0103\u0300ng sau bitcoin va\u0300 ru\u0301t ra ba\u0300i ho\u0323c cho ri\u00eang mi\u0300nh nhe\u0301!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/\" \/>\n<meta property=\"og:site_name\" content=\"BitcoinVN Insights\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/www.bitcoinvn.io\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-22T10:00:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-04T02:03:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-dang-sau-bitcoin-min.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"596\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Quynh Nguyen\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bitcoin_vietnam\" \/>\n<meta name=\"twitter:site\" content=\"@bitcoin_vietnam\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Quynh Nguyen\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"17 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/\"},\"author\":{\"name\":\"Quynh Nguyen\",\"@id\":\"https:\/\/bitcoinvn.io\/insights\/#\/schema\/person\/d8a343fdd1704a26e0c98da64742c5cc\"},\"headline\":\"Ph\u00e2n t\u00edch To\u00e1n h\u1ecdc \u201c\u1ea9n gi\u1ea5u&#8221; \u0111\u1eb1ng sau Bitcoin\",\"datePublished\":\"2023-10-22T10:00:57+00:00\",\"dateModified\":\"2024-05-04T02:03:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/\"},\"wordCount\":5418,\"publisher\":{\"@id\":\"https:\/\/bitcoinvn.io\/insights\/#organization\"},\"image\":{\"@id\":\"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-dang-sau-bitcoin-min.jpg\",\"articleSection\":[\"H\u01b0\u1edbng D\u1eabn C\u01a1 B\u1ea3n\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/\",\"url\":\"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/\",\"name\":\"Ph\u00e2n t\u00edch To\u00e1n h\u1ecdc \\\"\u1ea9n gi\u1ea5u\\\" sau giao th\u1ee9c Bitcoin\",\"isPartOf\":{\"@id\":\"https:\/\/bitcoinvn.io\/insights\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-dang-sau-bitcoin-min.jpg\",\"datePublished\":\"2023-10-22T10:00:57+00:00\",\"dateModified\":\"2024-05-04T02:03:27+00:00\",\"description\":\"M\u1eddi b\u1ea1n c\u00f9ng BitcoinVN \u0111i s\u00e2u ph\u00e2n t\u00edch c\u00e1c ph\u00e9p t\u00ednh To\u00e1n h\u1ecdc \u0111\u0103\u0300ng sau bitcoin va\u0300 ru\u0301t ra ba\u0300i ho\u0323c cho ri\u00eang mi\u0300nh nhe\u0301!\",\"breadcrumb\":{\"@id\":\"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/#primaryimage\",\"url\":\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-dang-sau-bitcoin-min.jpg\",\"contentUrl\":\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-dang-sau-bitcoin-min.jpg\",\"width\":1000,\"height\":596},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/bitcoinvn.io\/insights\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"H\u01b0\u1edbng D\u1eabn\",\"item\":\"https:\/\/bitcoinvn.io\/insights\/vi\/category\/guide\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"H\u01b0\u1edbng D\u1eabn C\u01a1 B\u1ea3n\",\"item\":\"https:\/\/bitcoinvn.io\/insights\/vi\/category\/guide\/basic-guide\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Ph\u00e2n t\u00edch To\u00e1n h\u1ecdc \u201c\u1ea9n gi\u1ea5u&#8221; \u0111\u1eb1ng sau Bitcoin\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/bitcoinvn.io\/insights\/#website\",\"url\":\"https:\/\/bitcoinvn.io\/insights\/\",\"name\":\"BitcoinVN Insights\",\"description\":\"News source for cryptocurrencies, Bitcoin, and blockchain in Vietnam\",\"publisher\":{\"@id\":\"https:\/\/bitcoinvn.io\/insights\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/bitcoinvn.io\/insights\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/bitcoinvn.io\/insights\/#organization\",\"name\":\"BitcoinVN\",\"alternateName\":\"Bitcoin Vietnam\",\"url\":\"https:\/\/bitcoinvn.io\/insights\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/bitcoinvn.io\/insights\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/07\/cropped-icon.png\",\"contentUrl\":\"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/07\/cropped-icon.png\",\"width\":512,\"height\":512,\"caption\":\"BitcoinVN\"},\"image\":{\"@id\":\"https:\/\/bitcoinvn.io\/insights\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/facebook.com\/www.bitcoinvn.io\",\"https:\/\/x.com\/bitcoin_vietnam\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/bitcoinvn.io\/insights\/#\/schema\/person\/d8a343fdd1704a26e0c98da64742c5cc\",\"name\":\"Quynh Nguyen\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/dfd99476246b757d34cc723c60a75155f1484f0ae5b7f96ad8d1986de24c31a7?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/dfd99476246b757d34cc723c60a75155f1484f0ae5b7f96ad8d1986de24c31a7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/dfd99476246b757d34cc723c60a75155f1484f0ae5b7f96ad8d1986de24c31a7?s=96&d=mm&r=g\",\"caption\":\"Quynh Nguyen\"},\"url\":\"https:\/\/bitcoinvn.io\/insights\/author\/quynhnguyenbck12gmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ph\u00e2n t\u00edch To\u00e1n h\u1ecdc \"\u1ea9n gi\u1ea5u\" sau giao th\u1ee9c Bitcoin","description":"M\u1eddi b\u1ea1n c\u00f9ng BitcoinVN \u0111i s\u00e2u ph\u00e2n t\u00edch c\u00e1c ph\u00e9p t\u00ednh To\u00e1n h\u1ecdc \u0111\u0103\u0300ng sau bitcoin va\u0300 ru\u0301t ra ba\u0300i ho\u0323c cho ri\u00eang mi\u0300nh nhe\u0301!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/","og_locale":"en_US","og_type":"article","og_title":"Ph\u00e2n t\u00edch To\u00e1n h\u1ecdc \"\u1ea9n gi\u1ea5u\" sau giao th\u1ee9c Bitcoin","og_description":"M\u1eddi b\u1ea1n c\u00f9ng BitcoinVN \u0111i s\u00e2u ph\u00e2n t\u00edch c\u00e1c ph\u00e9p t\u00ednh To\u00e1n h\u1ecdc \u0111\u0103\u0300ng sau bitcoin va\u0300 ru\u0301t ra ba\u0300i ho\u0323c cho ri\u00eang mi\u0300nh nhe\u0301!","og_url":"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/","og_site_name":"BitcoinVN Insights","article_publisher":"https:\/\/facebook.com\/www.bitcoinvn.io","article_published_time":"2023-10-22T10:00:57+00:00","article_modified_time":"2024-05-04T02:03:27+00:00","og_image":[{"width":1000,"height":596,"url":"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-dang-sau-bitcoin-min.jpg","type":"image\/jpeg"}],"author":"Quynh Nguyen","twitter_card":"summary_large_image","twitter_creator":"@bitcoin_vietnam","twitter_site":"@bitcoin_vietnam","twitter_misc":{"Written by":"Quynh Nguyen","Est. reading time":"17 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/#article","isPartOf":{"@id":"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/"},"author":{"name":"Quynh Nguyen","@id":"https:\/\/bitcoinvn.io\/insights\/#\/schema\/person\/d8a343fdd1704a26e0c98da64742c5cc"},"headline":"Ph\u00e2n t\u00edch To\u00e1n h\u1ecdc \u201c\u1ea9n gi\u1ea5u&#8221; \u0111\u1eb1ng sau Bitcoin","datePublished":"2023-10-22T10:00:57+00:00","dateModified":"2024-05-04T02:03:27+00:00","mainEntityOfPage":{"@id":"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/"},"wordCount":5418,"publisher":{"@id":"https:\/\/bitcoinvn.io\/insights\/#organization"},"image":{"@id":"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/#primaryimage"},"thumbnailUrl":"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-dang-sau-bitcoin-min.jpg","articleSection":["H\u01b0\u1edbng D\u1eabn C\u01a1 B\u1ea3n"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/","url":"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/","name":"Ph\u00e2n t\u00edch To\u00e1n h\u1ecdc \"\u1ea9n gi\u1ea5u\" sau giao th\u1ee9c Bitcoin","isPartOf":{"@id":"https:\/\/bitcoinvn.io\/insights\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/#primaryimage"},"image":{"@id":"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/#primaryimage"},"thumbnailUrl":"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-dang-sau-bitcoin-min.jpg","datePublished":"2023-10-22T10:00:57+00:00","dateModified":"2024-05-04T02:03:27+00:00","description":"M\u1eddi b\u1ea1n c\u00f9ng BitcoinVN \u0111i s\u00e2u ph\u00e2n t\u00edch c\u00e1c ph\u00e9p t\u00ednh To\u00e1n h\u1ecdc \u0111\u0103\u0300ng sau bitcoin va\u0300 ru\u0301t ra ba\u0300i ho\u0323c cho ri\u00eang mi\u0300nh nhe\u0301!","breadcrumb":{"@id":"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/#primaryimage","url":"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-dang-sau-bitcoin-min.jpg","contentUrl":"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/10\/toan-hoc-dang-sau-bitcoin-min.jpg","width":1000,"height":596},{"@type":"BreadcrumbList","@id":"https:\/\/bitcoinvn.io\/insights\/vi\/phan-tich-toan-hoc-an-giau-dang-sau-bitcoin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bitcoinvn.io\/insights\/"},{"@type":"ListItem","position":2,"name":"H\u01b0\u1edbng D\u1eabn","item":"https:\/\/bitcoinvn.io\/insights\/vi\/category\/guide\/"},{"@type":"ListItem","position":3,"name":"H\u01b0\u1edbng D\u1eabn C\u01a1 B\u1ea3n","item":"https:\/\/bitcoinvn.io\/insights\/vi\/category\/guide\/basic-guide\/"},{"@type":"ListItem","position":4,"name":"Ph\u00e2n t\u00edch To\u00e1n h\u1ecdc \u201c\u1ea9n gi\u1ea5u&#8221; \u0111\u1eb1ng sau Bitcoin"}]},{"@type":"WebSite","@id":"https:\/\/bitcoinvn.io\/insights\/#website","url":"https:\/\/bitcoinvn.io\/insights\/","name":"BitcoinVN Insights","description":"News source for cryptocurrencies, Bitcoin, and blockchain in Vietnam","publisher":{"@id":"https:\/\/bitcoinvn.io\/insights\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bitcoinvn.io\/insights\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/bitcoinvn.io\/insights\/#organization","name":"BitcoinVN","alternateName":"Bitcoin Vietnam","url":"https:\/\/bitcoinvn.io\/insights\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bitcoinvn.io\/insights\/#\/schema\/logo\/image\/","url":"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/07\/cropped-icon.png","contentUrl":"https:\/\/bitcoinvn.io\/insights\/wp-content\/uploads\/2023\/07\/cropped-icon.png","width":512,"height":512,"caption":"BitcoinVN"},"image":{"@id":"https:\/\/bitcoinvn.io\/insights\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/facebook.com\/www.bitcoinvn.io","https:\/\/x.com\/bitcoin_vietnam"]},{"@type":"Person","@id":"https:\/\/bitcoinvn.io\/insights\/#\/schema\/person\/d8a343fdd1704a26e0c98da64742c5cc","name":"Quynh Nguyen","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/dfd99476246b757d34cc723c60a75155f1484f0ae5b7f96ad8d1986de24c31a7?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/dfd99476246b757d34cc723c60a75155f1484f0ae5b7f96ad8d1986de24c31a7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/dfd99476246b757d34cc723c60a75155f1484f0ae5b7f96ad8d1986de24c31a7?s=96&d=mm&r=g","caption":"Quynh Nguyen"},"url":"https:\/\/bitcoinvn.io\/insights\/author\/quynhnguyenbck12gmail-com\/"}]}},"lang":"vi","translations":{"vi":9837},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/bitcoinvn.io\/insights\/wp-json\/wp\/v2\/posts\/9837","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitcoinvn.io\/insights\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitcoinvn.io\/insights\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitcoinvn.io\/insights\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/bitcoinvn.io\/insights\/wp-json\/wp\/v2\/comments?post=9837"}],"version-history":[{"count":5,"href":"https:\/\/bitcoinvn.io\/insights\/wp-json\/wp\/v2\/posts\/9837\/revisions"}],"predecessor-version":[{"id":9848,"href":"https:\/\/bitcoinvn.io\/insights\/wp-json\/wp\/v2\/posts\/9837\/revisions\/9848"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bitcoinvn.io\/insights\/wp-json\/wp\/v2\/media\/9838"}],"wp:attachment":[{"href":"https:\/\/bitcoinvn.io\/insights\/wp-json\/wp\/v2\/media?parent=9837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitcoinvn.io\/insights\/wp-json\/wp\/v2\/categories?post=9837"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitcoinvn.io\/insights\/wp-json\/wp\/v2\/tags?post=9837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}