SlideShare a Scribd company logo
1 of 9
Gaurav Mishra
<gmishx@gmail.com>
Block Chain
Introduction to blockchain
27-05-2018
Unrestricted
Gaurav Mishra <gmishx@gmail.com>
The bank way of transactions
• Each bank keeps a record of clients
and their respective bank accounts.
• The bank in which you hold your
account will maintain your
transactions (transaction book).
• These transactions are generally not
public.
• In case of any malicious entry, it is
very difficult to find/trace it out.
• The case gets even better in case of
cheque transactions which are
validated only at the end.
27-05-2018
2
Gaurav Mishra <gmishx@gmail.com>
Shortcoming of the bank way
•
• The transactions are not
public
•
• Creates trust issues
•
• Different organizations hold
different transactions
27-05-2018
3
Gaurav Mishra <gmishx@gmail.com>
Replacement of this method
27-05-2018
4
Store a
public
ledger
Anyone can
read/write
Being
public,
anyone can
own a copy
Current
value is a
sum of all
transactions
Open for
malicious
entries
Gaurav Mishra <gmishx@gmail.com>
Securing the ledger
• Any person can hold a copy of the ledger for keeping track of transactions.
• This also opens a way for modification in the ledger.
• The best way of preventing modifications is by using hash.
• Hash is calculated using a sting and applying certain mathematical operations on it
which creates a new digest (fixed length) of the given input.
• A slight modification in the input creates a great change in the digest (avalanche
effect).
• Hashing input are generally combined with another input called salt or nonce to
modify the hash output for a desired result.
• After a certain number of entries, a hash is calculated on the ledger.
• This can prevent modifications in existing ledger.
• https://anders.com/blockchain/hash.html
• Since calculating the digest is a costly operation, the digest is calculated after a
certain entries in the ledger and those entries are called as a block.
• The size of a block is fixed for any operation on the ledger.
• https://anders.com/blockchain/block.html
27-05-2018
5
Gaurav Mishra <gmishx@gmail.com>
Securing the entries
• Calculating hash on the ledger only prevents the modification of it.
• We still need a way to prevent malicious entries in it.
• The public-private keys are popularly used around and can be used to provide
authenticity of a message using digital signatures.
• https://anders.com/blockchain/public-private-keys/keys.html
• Each entry in the ledger is backed with a signature calculated using the private key of
person making the transaction.
• https://anders.com/blockchain/public-private-keys/signatures.html
• This provides the authenticity of the entries in the ledger.
• Thus the final ledger is secured by authenticating the entries and preventing
modifications in the previous entries.
• https://anders.com/blockchain/public-private-keys/blockchain.html
27-05-2018
6
Gaurav Mishra <gmishx@gmail.com>
The blockchain
• The blockchain is a continuous chain of validated blocks.
• Each block holds its block number, its nonce, its data, hash of previous block and its
own hash.
• https://blockchain.info/block/0000000000000000001cca8a0f8925e6b6d542e314
54a3e16bfe1fd7f571b1d0
• Each participant have to provide their public key.
• https://anders.com/blockchain/public-private-keys/blockchain.html
• The digest of the block have some constrain like the first 4 digits of it should be zero
to increase the computational cost of the digest and making it even more difficult to
change.
• The act of calculation of digest of a block is called mining and the person performing
it is called as miner.
• Since the ledger is distributed among several computers, anyone who mine the block
first broadcast the result to others.
• Any ledger having modifications can be matched with others and discarded.
• If a chain is bifurcated, the chain with most work done is retained and the other one
is discarded.
27-05-2018
7
Gaurav Mishra <gmishx@gmail.com>
Strengths of blockchain
You can own your own copy
of ledger
Entries can be authenticated
anytime
Secured using public-private
keys
Completely trust worthy
Public ledger
27-05-2018
8
Gaurav Mishra <gmishx@gmail.com>
27-05-2018
9

More Related Content

Similar to Block Chain - Introduction

Blockchain 101
Blockchain 101Blockchain 101
Blockchain 101Suki Chana
 
The Secret behind the Blockchain Technology
The Secret behind the Blockchain TechnologyThe Secret behind the Blockchain Technology
The Secret behind the Blockchain TechnologyPECB
 
Block chain fundamentals and hyperledger
Block chain fundamentals and hyperledgerBlock chain fundamentals and hyperledger
Block chain fundamentals and hyperledgersendhilkumarks
 
Blockchain Security and Demonstration
Blockchain Security and DemonstrationBlockchain Security and Demonstration
Blockchain Security and DemonstrationYao Yao
 
chapter4.pptxwgdyjshcbnbhvegwydvquhcjdvqigufwk
chapter4.pptxwgdyjshcbnbhvegwydvquhcjdvqigufwkchapter4.pptxwgdyjshcbnbhvegwydvquhcjdvqigufwk
chapter4.pptxwgdyjshcbnbhvegwydvquhcjdvqigufwkNiveditaSingh839848
 
Blockchain Fundamental_KIPMI_2022.02.26.pdf
Blockchain Fundamental_KIPMI_2022.02.26.pdfBlockchain Fundamental_KIPMI_2022.02.26.pdf
Blockchain Fundamental_KIPMI_2022.02.26.pdfadinugroho751867
 
Module-2-Introduction-to-Cryptocurrencies.pdf
Module-2-Introduction-to-Cryptocurrencies.pdfModule-2-Introduction-to-Cryptocurrencies.pdf
Module-2-Introduction-to-Cryptocurrencies.pdfreddoors14
 
Blockchain and bitcoin fundamentals (usages and applications)
Blockchain and bitcoin fundamentals (usages and applications)Blockchain and bitcoin fundamentals (usages and applications)
Blockchain and bitcoin fundamentals (usages and applications)Amir Rafati
 
How Blockchain Can Be Used In Supply Chain Management & How It Works?
How Blockchain Can Be Used In Supply Chain Management & How It Works?How Blockchain Can Be Used In Supply Chain Management & How It Works?
How Blockchain Can Be Used In Supply Chain Management & How It Works?Blockchain Council
 
Unbundling Of Financial Services: The Blockchain(s) Revolution
Unbundling Of Financial Services: The Blockchain(s) RevolutionUnbundling Of Financial Services: The Blockchain(s) Revolution
Unbundling Of Financial Services: The Blockchain(s) RevolutionGeorge Samuel Samman
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to BlockchainSanjeev Mishra
 
Privacy Preservation Issues in Association Rule Mining in Horizontally Partit...
Privacy Preservation Issues in Association Rule Mining in Horizontally Partit...Privacy Preservation Issues in Association Rule Mining in Horizontally Partit...
Privacy Preservation Issues in Association Rule Mining in Horizontally Partit...Abhra Basak
 

Similar to Block Chain - Introduction (20)

Blockchain concepts
Blockchain conceptsBlockchain concepts
Blockchain concepts
 
Blockchain (1).pptx
Blockchain (1).pptxBlockchain (1).pptx
Blockchain (1).pptx
 
Blockchain 101
Blockchain 101Blockchain 101
Blockchain 101
 
Blockchain
BlockchainBlockchain
Blockchain
 
The Secret behind the Blockchain Technology
The Secret behind the Blockchain TechnologyThe Secret behind the Blockchain Technology
The Secret behind the Blockchain Technology
 
About Blockchain
About BlockchainAbout Blockchain
About Blockchain
 
BlockChain-1.pptx
BlockChain-1.pptxBlockChain-1.pptx
BlockChain-1.pptx
 
Block chain fundamentals and hyperledger
Block chain fundamentals and hyperledgerBlock chain fundamentals and hyperledger
Block chain fundamentals and hyperledger
 
Blockchain Security and Demonstration
Blockchain Security and DemonstrationBlockchain Security and Demonstration
Blockchain Security and Demonstration
 
chapter4.pptxwgdyjshcbnbhvegwydvquhcjdvqigufwk
chapter4.pptxwgdyjshcbnbhvegwydvquhcjdvqigufwkchapter4.pptxwgdyjshcbnbhvegwydvquhcjdvqigufwk
chapter4.pptxwgdyjshcbnbhvegwydvquhcjdvqigufwk
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptx
 
Blockchain Fundamental_KIPMI_2022.02.26.pdf
Blockchain Fundamental_KIPMI_2022.02.26.pdfBlockchain Fundamental_KIPMI_2022.02.26.pdf
Blockchain Fundamental_KIPMI_2022.02.26.pdf
 
Module-2-Introduction-to-Cryptocurrencies.pdf
Module-2-Introduction-to-Cryptocurrencies.pdfModule-2-Introduction-to-Cryptocurrencies.pdf
Module-2-Introduction-to-Cryptocurrencies.pdf
 
Blockchain and bitcoin fundamentals (usages and applications)
Blockchain and bitcoin fundamentals (usages and applications)Blockchain and bitcoin fundamentals (usages and applications)
Blockchain and bitcoin fundamentals (usages and applications)
 
Bitcoins
BitcoinsBitcoins
Bitcoins
 
How Blockchain Can Be Used In Supply Chain Management & How It Works?
How Blockchain Can Be Used In Supply Chain Management & How It Works?How Blockchain Can Be Used In Supply Chain Management & How It Works?
How Blockchain Can Be Used In Supply Chain Management & How It Works?
 
BlockChain-1.pptx
BlockChain-1.pptxBlockChain-1.pptx
BlockChain-1.pptx
 
Unbundling Of Financial Services: The Blockchain(s) Revolution
Unbundling Of Financial Services: The Blockchain(s) RevolutionUnbundling Of Financial Services: The Blockchain(s) Revolution
Unbundling Of Financial Services: The Blockchain(s) Revolution
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
Privacy Preservation Issues in Association Rule Mining in Horizontally Partit...
Privacy Preservation Issues in Association Rule Mining in Horizontally Partit...Privacy Preservation Issues in Association Rule Mining in Horizontally Partit...
Privacy Preservation Issues in Association Rule Mining in Horizontally Partit...
 

More from Gaurav Mishra

FOSSology and OSS-Tools for License Compliance and Automation
FOSSology and OSS-Tools for License Compliance and AutomationFOSSology and OSS-Tools for License Compliance and Automation
FOSSology and OSS-Tools for License Compliance and AutomationGaurav Mishra
 
FOSSology & GSOC Journey
FOSSology & GSOC JourneyFOSSology & GSOC Journey
FOSSology & GSOC JourneyGaurav Mishra
 
Disk quota and sysd procd
Disk quota and sysd procdDisk quota and sysd procd
Disk quota and sysd procdGaurav Mishra
 
Linux User Management
Linux User ManagementLinux User Management
Linux User ManagementGaurav Mishra
 
Apache, cron and proxy
Apache, cron and proxyApache, cron and proxy
Apache, cron and proxyGaurav Mishra
 
Firewall and IPtables
Firewall and IPtablesFirewall and IPtables
Firewall and IPtablesGaurav Mishra
 

More from Gaurav Mishra (10)

FOSSology and OSS-Tools for License Compliance and Automation
FOSSology and OSS-Tools for License Compliance and AutomationFOSSology and OSS-Tools for License Compliance and Automation
FOSSology and OSS-Tools for License Compliance and Automation
 
FOSSology & GSOC Journey
FOSSology & GSOC JourneyFOSSology & GSOC Journey
FOSSology & GSOC Journey
 
Backup using rsync
Backup using rsyncBackup using rsync
Backup using rsync
 
Disk quota and sysd procd
Disk quota and sysd procdDisk quota and sysd procd
Disk quota and sysd procd
 
Linux User Management
Linux User ManagementLinux User Management
Linux User Management
 
Apache, cron and proxy
Apache, cron and proxyApache, cron and proxy
Apache, cron and proxy
 
Linux Run Level
Linux Run LevelLinux Run Level
Linux Run Level
 
Firewall and IPtables
Firewall and IPtablesFirewall and IPtables
Firewall and IPtables
 
Linux securities
Linux securitiesLinux securities
Linux securities
 
wget, curl and scp
wget, curl and scpwget, curl and scp
wget, curl and scp
 

Recently uploaded

diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....Ritu480198
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesPooky Knightsmith
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxMarlene Maheu
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17Celine George
 
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportDenish Jangid
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxneillewis46
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaEADTU
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024Borja Sotomayor
 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppCeline George
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文中 央社
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...Nguyen Thanh Tu Collection
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...EADTU
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSean M. Fox
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital ManagementMBA Assignment Experts
 
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMDEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMELOISARIVERA8
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...Nguyen Thanh Tu Collection
 

Recently uploaded (20)

Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17
 
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge App
 
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文會考英文
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
 
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMDEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 

Block Chain - Introduction

  • 1. Gaurav Mishra <gmishx@gmail.com> Block Chain Introduction to blockchain 27-05-2018 Unrestricted
  • 2. Gaurav Mishra <gmishx@gmail.com> The bank way of transactions • Each bank keeps a record of clients and their respective bank accounts. • The bank in which you hold your account will maintain your transactions (transaction book). • These transactions are generally not public. • In case of any malicious entry, it is very difficult to find/trace it out. • The case gets even better in case of cheque transactions which are validated only at the end. 27-05-2018 2
  • 3. Gaurav Mishra <gmishx@gmail.com> Shortcoming of the bank way • • The transactions are not public • • Creates trust issues • • Different organizations hold different transactions 27-05-2018 3
  • 4. Gaurav Mishra <gmishx@gmail.com> Replacement of this method 27-05-2018 4 Store a public ledger Anyone can read/write Being public, anyone can own a copy Current value is a sum of all transactions Open for malicious entries
  • 5. Gaurav Mishra <gmishx@gmail.com> Securing the ledger • Any person can hold a copy of the ledger for keeping track of transactions. • This also opens a way for modification in the ledger. • The best way of preventing modifications is by using hash. • Hash is calculated using a sting and applying certain mathematical operations on it which creates a new digest (fixed length) of the given input. • A slight modification in the input creates a great change in the digest (avalanche effect). • Hashing input are generally combined with another input called salt or nonce to modify the hash output for a desired result. • After a certain number of entries, a hash is calculated on the ledger. • This can prevent modifications in existing ledger. • https://anders.com/blockchain/hash.html • Since calculating the digest is a costly operation, the digest is calculated after a certain entries in the ledger and those entries are called as a block. • The size of a block is fixed for any operation on the ledger. • https://anders.com/blockchain/block.html 27-05-2018 5
  • 6. Gaurav Mishra <gmishx@gmail.com> Securing the entries • Calculating hash on the ledger only prevents the modification of it. • We still need a way to prevent malicious entries in it. • The public-private keys are popularly used around and can be used to provide authenticity of a message using digital signatures. • https://anders.com/blockchain/public-private-keys/keys.html • Each entry in the ledger is backed with a signature calculated using the private key of person making the transaction. • https://anders.com/blockchain/public-private-keys/signatures.html • This provides the authenticity of the entries in the ledger. • Thus the final ledger is secured by authenticating the entries and preventing modifications in the previous entries. • https://anders.com/blockchain/public-private-keys/blockchain.html 27-05-2018 6
  • 7. Gaurav Mishra <gmishx@gmail.com> The blockchain • The blockchain is a continuous chain of validated blocks. • Each block holds its block number, its nonce, its data, hash of previous block and its own hash. • https://blockchain.info/block/0000000000000000001cca8a0f8925e6b6d542e314 54a3e16bfe1fd7f571b1d0 • Each participant have to provide their public key. • https://anders.com/blockchain/public-private-keys/blockchain.html • The digest of the block have some constrain like the first 4 digits of it should be zero to increase the computational cost of the digest and making it even more difficult to change. • The act of calculation of digest of a block is called mining and the person performing it is called as miner. • Since the ledger is distributed among several computers, anyone who mine the block first broadcast the result to others. • Any ledger having modifications can be matched with others and discarded. • If a chain is bifurcated, the chain with most work done is retained and the other one is discarded. 27-05-2018 7
  • 8. Gaurav Mishra <gmishx@gmail.com> Strengths of blockchain You can own your own copy of ledger Entries can be authenticated anytime Secured using public-private keys Completely trust worthy Public ledger 27-05-2018 8