Important Announcement
PubHTML5 Scheduled Server Maintenance on (GMT) Sunday, June 26th, 2:00 am - 8:00 am.
PubHTML5 site will be inoperative during the times indicated!

Home Explore Blockchain

Blockchain

Published by firdaows, 2022-01-25 08:35:01

Description: เตรียมเนื้อหา Blockchain Complete

Search

Read the Text Version

Data : (เปลยี่ นแปลงขอ้ มลู ) Data : (ขอ้ มลู ) Data : (ขอ้ มลู ) Prev Hash : 000000000 Prev Hash : 000015783b Prev Hash : 000012fa9b9 Hash : 50bbbb5321 Hash :000012fa9b9 Hash :0000b9015ce2 https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

Data : (เปลยี่ นแปลงขอ้ มลู ) Data : (ขอ้ มลู ) Data : (ขอ้ มลู ) Prev Hash : 000000000 Prev Hash : 000015783b Prev Hash : 000012fa9b9 Hash : 50bbbb5321 Hash :000012fa9b9 Hash :0000b9015ce2 https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

Data : (เปลยี่ นแปลงขอ้ มลู ) Data : (ขอ้ มลู ) Data : (ขอ้ มลู ) Prev Hash : 000000000 Prev Hash : 000015783b Prev Hash : 000012fa9b9 Hash : 50bbbb5321 Hash :000012fa9b9 Hash :0000b9015ce2 https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

Data : (ขอ้ มลู ) Data : (ขอ้ มลู ) Data : (ขอ้ มลู ) Prev Hash : 000000000 Prev Hash : 000015783b Prev Hash : 000012fa9b9 Hash :000015783b Hash :000012fa9b9 Hash :0000b9015ce2 https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

Data : (ขอ้ มลู ) Data : (ขอ้ มลู ) Data : (ขอ้ มลู ) Prev Hash : 000000000 Prev Hash : 000015783b Prev Hash : 000012fa9b9 Hash :000015783b Hash :000012fa9b9 Hash :0000b9015ce2 https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

Data : (ขอ้ มลู ) Data : (เปลี่ยนแปลงขอ้ มลู ) Data : (ขอ้ มลู ) Prev Hash : 000000000 Prev Hash : 000015783b Prev Hash : 000012fa9b9 Hash :000015783b Hash :000012fa9b9 Hash :0000b9015ce2 https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

Data : (ขอ้ มลู ) Data : (เปลี่ยนแปลงขอ้ มลู ) Data : (ขอ้ มลู ) Prev Hash : 000000000 Prev Hash : 000015783b Prev Hash : 000012fa9b9 Hash :000015783b Hash :000012fa9b9 Hash :0000b9015ce2 https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

Data : (ขอ้ มลู ) Data : (เปลี่ยนแปลงขอ้ มลู ) Data : (ขอ้ มลู ) Prev Hash : 000000000 Prev Hash : 000015783b Prev Hash : 000012fa9b9 Hash :000015783b Hash :000012fa9b9 Hash :0000b9015ce2 https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

Data : (ขอ้ มลู ) Data : (เปลย่ี นแปลงขอ้ มลู ) Data : (ขอ้ มลู ) Prev Hash : 000000000 Prev Hash : 000015783b Prev Hash : 000012fa9b9 Hash :000015783b Hash :0f889fa77f Hash :0000b9015ce2 https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

Data : (ขอ้ มลู ) Data : (เปลย่ี นแปลงขอ้ มลู ) Data : (ขอ้ มลู ) Prev Hash : 000000000 Prev Hash : 000015783b Prev Hash : 000012fa9b9 Hash :000015783b Hash :0f889fa77f Hash :0000b9015ce2 https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

Data : (ขอ้ มลู ) Data : (เปลย่ี นแปลงขอ้ มลู ) Data : (ขอ้ มลู ) Prev Hash : 000000000 Prev Hash : 000015783b Prev Hash : 000012fa9b9 Hash :000015783b Hash :0f889fa77f Hash :0000b9015ce2 https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

ภาพรวมระบบ Blockchain ● Hash Cryptography (SHA-256) ● Immutable Ledger ● Distributed P2P Network ● Mining ● Consensus Protocol

03 ทําความรู ้จักกับ SHA256-HASH https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

ภาพรวมระบบ Blockchain ● Hash Cryptography (SHA-256) ● Immutable Ledger ● Distributed P2P Network ● Mining ● Consensus Protocol

ภาพรวมระบบ Blockchain ● Hash Cryptography (SHA-256) ● Immutable Ledger ● Distributed P2P Network ● Mining ● Consensus Protocol

Hash คือ คา่ ท่ไี ด้จากการนําขอ้ มลู ตน้ ฉบับทีต่ ้องการ มาแปลง หรือ เขา้ รหสั ผา่ นกระบวนการทางคณิตศาสตร์ สง่ ผลใหข้ อ้ มลู ที่ถูกแปลงน้ันมลี ักษณะเฉพาะมีคา่ ไมซ่ ากนั และมีขนาดความยาวคงท่ี ซ่ึง Hash น้ันจะตัวเลขหรือตวั อกั ษรโดยจะอยใู่ นรูปแบบเลขฐาน 16

ทบทวนเลขฐาน 16 http://string-functions.com/img/hexadecimal_table.png

https://appdone.ir/wp-content/uploads//2021/08/hash-function-example.png

ลายนิ้วมอื คอื ตวั แทนของแตล่ ะบคุ คล

961b6dd3ede3c B8ecbaacbd68d E040cd78eb2ed 5889130cceb4c 49268ea4d506 “SHA256-Hash 64 Characters” Hash คือ ตวั แทนของขอ้ มลู (data)

Hash ในปจั จบุ นั ● MD2 ● MD4 ● MD5 ● SHA0 ● SHA1

ทําไมใช้ SHA256-HASH ? https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

เพราะเปน็ ตวั ทปี่ ลอดภยั ท่สี ดุ ในปจั จุบนั (ในวนั ท่ีอัดคลปิ ^^) https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

คุณสมบตั ขิ อง SHA256-Hash ● One-way ● Deterministic ● Fast Computation ● The Avalanche Effect ● Must withstand collisions

ตวั อย่าง SHA256-Hash https://andersbrownworth.com /blockchain/hash

คุณสมบตั ขิ อง SHA256-Hash ● One-way ● Deterministic ● Fast Computation ● The Avalanche Effect ● Must withstand collisions

One-Way 961b6dd3ede3c B8ecbaacbd68d E040cd78eb2ed 5889130cceb4c 49268ea4d506 ข้อมลู 1 ชุดมี Hash ไดเ้ พียง 1 คา่ เท่าน้ันและค่า Hash น้ัน ไมส่ ามารถถอดรหสั กลับได้

คุณสมบตั ขิ อง SHA256-Hash ● One-way ● Deterministic ● Fast Computation ● The Avalanche Effect ● Must withstand collisions

Deterministic 961b6dd3ede3c B8ecbaacbd68d E040cd78eb2ed 5889130cceb4c 49268ea4d506 961b6dd3ede3c B8ecbaacbd68d E040cd78eb2ed 5889130cceb4c 49268ea4d506 ขอ้ มลู ที่มคี ่าเหมอื นกนั กไ็ ดค้ า่ Hash เหมอื นกนั ขอ้ มลู ท่มี คี ่าตา่ งกนั กจ็ ะไดค้ า่ Hash ตา่ งกนั ไปดว้ ย

คุณสมบตั ขิ อง SHA256-Hash ● One-way ● Deterministic ● Fast Computation ● The Avalanche Effect ● Must withstand collisions

Fast Computation 961b6dd3ede3c B8ecbaacbd68d E040cd78eb2ed 5889130cceb4c 49268ea4d506 มกี ารคาํ นวณหรือสร้าง Hash ไดอ้ ย่างรวดเร็ว

คุณสมบตั ขิ อง SHA256-Hash ● One-way ● Deterministic ● Fast Computation ● The Avalanche Effect ● Must withstand collisions

The Avalanche Effect 961b6dd3ede3c B8ecbaacbd68d E040cd78eb2ed 5889130cceb4c 49268ea4d506 เมอ่ื มกี ารเปลยี่ นแปลงขอ้ มลู เกดิ ข้นึ ค่า Hash กจ็ ะเปลีย่ นไปมากมายมหาศาล ซ่ึงสง่ ผลให้ Hash มคี วามปลอดภยั และคาดเดาไดย้ ากวา่ ขอ้ มลู ที่เกบ็ น้ัน เกบ็ ค่าอะไรไว้

คุณสมบตั ขิ อง SHA256-Hash ● One-way ● Deterministic ● Fast Computation ● The Avalanche Effect ● Must withstand collisions

Must withstand collisions 961b6dd3ede3c B8ecbaacbd68d E040cd78eb2ed 5889130cceb4c 49268ea4d506 ปอ้ งกนั และหลีกเล่ยี งการสร้าง Hash ท่มี คี า่ ซากนั เกดิ ข้นึ ในระบบ

04 Immutable Ledger https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

ภาพรวมระบบ Blockchain ● Hash Cryptography (SHA-256) ● Immutable Ledger ● Distributed P2P Network ● Mining ● Consensus Protocol

Immutable + Ledger ไมเ่ ปล่ียนรูป , เปลย่ี นไมไ่ ด้ บัญชแี ยกประเภท

Immutable Ledger “ บญั ชแี ยกประเภทไมเ่ ปลย่ี นรูป ”

Immutable Ledger “ บญั ชที ไี่ มส่ ามารถเปลี่ยนแปลงคา่ ได้ ”

Immutable Ledger “ บญั ชที ไี่ มส่ ามารถเปลี่ยนแปลงคา่ ได้ ”

Immutable Ledger “ ขอ้ มลู ทไ่ี มส่ ามารถเปลี่ยนแปลงคา่ ได้ ”

Immutable Ledger “ ขอ้ มลู ทไ่ี มส่ ามารถเปลี่ยนแปลงคา่ ได้ ”

“ขอ้ มลู ท่ีไมส่ ามารถเปล่ียนแปลงค่าได้ ” หมายถงึ Block ท่ไี ม่ สามารถแกไ้ ขหรือเปล่ียนแปลงขอ้ มลู ภายในได้

เม่อื มกี ารเปล่ยี นแปลงขอ้ มลู ใน block จะสง่ ผลใหค้ ่า Hash เปล่ยี นแปลงทนั ที Immutable Ledger ก็คอื แนวคิดและรูปแบบ ในการปอ้ งกนั การโจรกรรมขอ้ มูลในระบบ Blockchain น่ันเอง

Data : (ขอ้ มลู ) Data : (ขอ้ มลู ) Data : (ขอ้ มลู ) Prev Hash : 000000000 Prev Hash : 000015783b Prev Hash : 000012fa9b9 Hash :000015783b Hash :000012fa9b9 Hash :0000b9015ce2 https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

Data : (ขอ้ มลู ) Data : (ขอ้ มลู ) Data : (ขอ้ มลู ) Prev Hash : 000000000 Prev Hash : 000015783b Prev Hash : 000012fa9b9 Hash :000015783b Hash :000012fa9b9 Hash :0000b9015ce2 https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

Data : (ขอ้ มลู ) Data : (ขอ้ มลู ) Data : (ขอ้ มลู ) Prev Hash : 000000000 Prev Hash : 000015783b Prev Hash : 000012fa9b9 Hash :000015783b Hash :000012fa9b9 Hash :0000b9015ce2 https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

Data : (ขอ้ มลู ) Data : (ขอ้ มลู ) Data : (ขอ้ มลู ) Prev Hash : 000000000 Prev Hash : 000015783b Prev Hash : 000012fa9b9 Hash :000015783b Hash :000012fa9b9 Hash :0000b9015ce2 https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/

Data : (ขอ้ มลู ) Data : (ขอ้ มลู ) Data : (ขอ้ มลู ) Prev Hash : 000000000 Prev Hash : 000015783b Prev Hash : 000012fa9b9 Hash :000015783b Hash :000012fa9b9 Hash :0000b9015ce2 https://www.youtube.com/c/KongRuksiamOfficial/ https://www.facebook.com/KongRuksiamTutorial/


Like this book? You can publish your book online for free in a few minutes!
Create your own flipbook