SlideShare a Scribd company logo
1 of 24
Download to read offline
Blockchain Technologies
BABU PALLAM
2017CS18
M.tech, 2nd Year, Computer Science and Engineering(CSED)
Motilal Nehru National Institute of Technology Allahabad
October 15, 2018
Contents
1 Introduction
What is blockchain?
Why do we need blockchain?
2 Blockchain fundamentals
Architecture
How blockchain works?
3 Blockchain underlying technologies
4 Case Study: BIDaaS
5 Conclusion
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 2 / 22
What is blockchain ?
It is a distributed ledger technology, developed by Satoshi Nakamoto,
in 2008, through the invention of Bitcoin.
Different perspectives:
It is a data structure.
It is an abstract data type.
It is a technology.
It is an umbrella term.
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 3 / 22
Why do we need blockchain?
A new social adequate is being created!
Centralization to decentralization.
Untrusted environment require documentation.
Characteristics of blockchain:
It is immutable.
It provides security and resilient towards tampering.
It is always consistent.
It provides decentralized computing platform.
It provides cent per cent uptime of data.
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 4 / 22
Blockchain Architecture
Communication medium: Internet.
Decentralised network: Peer to peer
network.
Decentralised storage: Distributed
ledger.
Decentralised law: Consensus
algorithms.
Decentralised apps.: Interface between
the user.
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 5 / 22
How blockchain works?
Tasks need to be addressed:
1 Transaction generation
2 Storing the transactions
3 Preparing trustworthy environment
4 Distributing blocks and transactions
5 Updating ledger by new transactions or blocks
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 6 / 22
How blockchain works?
1 Transaction generation
Signing the transaction
At sender(A) side:
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 7 / 22
How blockchain works?
1 Transaction generation
Verifying the transaction
At recipient side:
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 8 / 22
How blockchain works?
2 Storing the transactions
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 9 / 22
How blockchain works?
3 Preparing trustworthy environment
Goal: Blockchain should be immutable.
Idea:
Consensus is computationally expensive.
Merkle tree makes manipulation easily noticable.
4 Distributing blocks and transactions
Goal: How do the nodes observe new transactions and blocks?
Idea:
Messages send in a gossip style.
Timestamp in each transaction helps node to order and ignore
duplicates.
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 10 / 22
How blockchain works?
Concensus algorithm: Proof of work
1 Get the Merkle root from tree of transactions to be added.
2 Create previous hash reference.
3 set difficulty-level = number of zeros preceded by the hash.
4 Get timestamp.
5 Set nonce = 0.
6 Apply hash puzzle: Find the hash of block header by varying nonce, so
that number of zeros at the first place of hash should be equal to
difficulty-level.
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 11 / 22
How blockchain works?
5 Updating ledger by new transactions or blocks
1 Node takes new transaction/block from mailbox and start processing.
2 In case of new transactions:
1 The node will verify each transaction.
2 If its invalid, node will discard it.
3 Perform proof of work with valid transactions
4 Broadcasts newly created block to the network.
3 In case of new blocks:
1 Verify all the transactions includes in it and proof of work.
2 Once it verified and is valid, update the local ledger
3 Once it verified and is invalid, discard it.
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 12 / 22
Blockchain underlying technologies
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 13 / 22
Blockchain underlying technologies
1. Encryption
Encryption: A way to acheive data security.
Encryption in blockchain: Provides data security.
Independent existence: Anywhere in digital world.
Blockchain without Encryption: loss data security.
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 13 / 22
Blockchain underlying technologies
1. Encryption
Encryption: A way to acheive data security.
Encryption in blockchain: Provides data security.
Independent existence: Anywhere in digital world.
Blockchain without Encryption: loss data security.
2. Smart contract
Smart contract: Self exicuting script.
Smart contract in blockchain: Helps to create business logic.
Independent existence: Can be implemented.
Blockchain without Smart contract: Possible.
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 13 / 22
Blockchain underlying technologies
3. Distributed ledger
Distributed ledger: A consensually shared and synchronized database
across a network.
Distributed ledger in blockchain: Ensures data consistency.
Independent existence: Yes, possible.
Phase King algorithm for BFT.
Distributed lock service by google.
Blockchain without distributed ledger: Possible, it is not mandatory.
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 14 / 22
Case Study: Blockchain based ID as a Service
BIDaaS Infrastructure
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 15 / 22
Case Study: Blockchain based ID as a Service
The terms associated with the entities:
Virtual ID of user Uusr
Private key of User Kusr
pri
Public key of User Kusr
pub
Private key of Partner Kptn
pri
Public key of Partner Kptn
pub
Private key of BIDaaS provider Kpro
pri
Public key of BIDaaS provider Kpro
pub
Encryption with private key EKpri
()
Decryption with public key DKpub
()
nonce r
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 16 / 22
Case Study: Blockchain based ID as a Service
User virtual ID creation: User generates the virtual ID from its
private key
Uusr = SHA256(Kusr
pri )
User Registration:
(Kusr
pub, Uusr , EKpro
pri
(Kusr
pub, Uusr ))
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 17 / 22
Case Study: Blockchain based ID as a Service
Mutual authentication:
User sends its virtual id and a nonce value to the associated partner.
M1 = (Uusr
, r, EKusr
pri
(Uusr
, r))
The partner validates M1:
DKusr
pub
(EKusr
pri
(Uusr
, r))
The provider sends response message M2 back to the user.
M2 = (Uusr
, r + 1, EKusr
pub
(Uusr
, r + 1, Kptn
pub))
User validates M2 using r + 1. After validation, the user sends M3 as
acknowledgement.
M3 = (Uusr
, r + 2, EKptn
pub
(Uusr
, r + 2))
The partner validates M3, then mutual authentication is successful.
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 18 / 22
Case Study: Blockchain based ID as a Service
Real world example with BIDaaS infrastructure:
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 19 / 22
Conclusion
Blockchain is unlocked a new paradigm for distributed computing and
applications.
The underlying technologies and new innovations make the
blockchain revolution without blockchain.
The future of blockchain would probably be a decentralized Internet,
in turn a decentralized society.
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 20 / 22
References
By Hanna Halaburda
Blockchain Revolution Without the Blockchain?
Communications of the ACM, July 2018, Vol. 61 No. 7, Pages 27-29
10.1145/3225619.
Johg-Hyouk Lee
BIDaaS: Blockchain Based ID As a Service
IEEE Access ( Volume: 6 ) 2169-3536 10.1109/ACCESS.2017.2782733.
By Satoshi Nakamoto
Bitcoin: A Peer-to-Peer Electronic Cash System
www.bitcoin.org.
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 21 / 22
Thank You
BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 22 / 22

More Related Content

What's hot

Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain TechnologyNimmy Solomon
 
Blockchain
BlockchainBlockchain
BlockchainSai Nath
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain TechnologyRashi Singh
 
Introduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsIntroduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsTechracers
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain TechnologyPalakGulati10
 
►TOP 13 • Blockchain Use Cases
►TOP 13 • Blockchain Use Cases ►TOP 13 • Blockchain Use Cases
►TOP 13 • Blockchain Use Cases Andrea Soto
 
Blockchain in Banking, Business and Beyond
Blockchain in Banking, Business and BeyondBlockchain in Banking, Business and Beyond
Blockchain in Banking, Business and BeyondMichael Novak
 
Blockchain Technology ppt project.pptx
Blockchain Technology ppt project.pptxBlockchain Technology ppt project.pptx
Blockchain Technology ppt project.pptxSahilBansal648873
 
Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?Fermat Jade
 
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...Edureka!
 
The Blockchain - The Technology behind Bitcoin
The Blockchain - The Technology behind Bitcoin The Blockchain - The Technology behind Bitcoin
The Blockchain - The Technology behind Bitcoin Jérôme Kehrli
 
Blockchain Technology and Its Application in Libraries
Blockchain Technology and Its Application in LibrariesBlockchain Technology and Its Application in Libraries
Blockchain Technology and Its Application in LibrariesNabi Hasan
 

What's hot (20)

BLOCKCHAIN
BLOCKCHAINBLOCKCHAIN
BLOCKCHAIN
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
Blockchain concepts
Blockchain conceptsBlockchain concepts
Blockchain concepts
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
Blockchain
BlockchainBlockchain
Blockchain
 
Introduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart ContractsIntroduction to Blockchain and Smart Contracts
Introduction to Blockchain and Smart Contracts
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
►TOP 13 • Blockchain Use Cases
►TOP 13 • Blockchain Use Cases ►TOP 13 • Blockchain Use Cases
►TOP 13 • Blockchain Use Cases
 
Blockchain in Banking, Business and Beyond
Blockchain in Banking, Business and BeyondBlockchain in Banking, Business and Beyond
Blockchain in Banking, Business and Beyond
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain
BlockchainBlockchain
Blockchain
 
Understanding Blockchain
Understanding BlockchainUnderstanding Blockchain
Understanding Blockchain
 
Blockchain Technology ppt project.pptx
Blockchain Technology ppt project.pptxBlockchain Technology ppt project.pptx
Blockchain Technology ppt project.pptx
 
Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?Blockchain Study(1) - What is Blockchain?
Blockchain Study(1) - What is Blockchain?
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...
Blockchain Technology | Blockchain Explained | Blockchain Tutorial | Blockcha...
 
The Blockchain - The Technology behind Bitcoin
The Blockchain - The Technology behind Bitcoin The Blockchain - The Technology behind Bitcoin
The Blockchain - The Technology behind Bitcoin
 
Blockchain Technology and Its Application in Libraries
Blockchain Technology and Its Application in LibrariesBlockchain Technology and Its Application in Libraries
Blockchain Technology and Its Application in Libraries
 

Similar to Blockchain

Paradigm shift: from the bitcoin Blockchain to Networked Computing
Paradigm shift: from the bitcoin Blockchain to Networked ComputingParadigm shift: from the bitcoin Blockchain to Networked Computing
Paradigm shift: from the bitcoin Blockchain to Networked Computingkumar641
 
Real-life Application of a Decentralized System
Real-life Application of a Decentralized SystemReal-life Application of a Decentralized System
Real-life Application of a Decentralized SystemIRJET Journal
 
Blockchain: The Game-changer To Radically Transform Your Business
Blockchain: The Game-changer To Radically Transform Your Business Blockchain: The Game-changer To Radically Transform Your Business
Blockchain: The Game-changer To Radically Transform Your Business Emma Jhonson
 
Blockchain based Banking System
Blockchain based Banking SystemBlockchain based Banking System
Blockchain based Banking SystemGaurav Singh
 
IRJET- Blockchain Technology
IRJET- Blockchain TechnologyIRJET- Blockchain Technology
IRJET- Blockchain TechnologyIRJET Journal
 
Improved Particle Swarm Optimization Based on Blockchain Mechanism for Flexib...
Improved Particle Swarm Optimization Based on Blockchain Mechanism for Flexib...Improved Particle Swarm Optimization Based on Blockchain Mechanism for Flexib...
Improved Particle Swarm Optimization Based on Blockchain Mechanism for Flexib...BRNSSPublicationHubI
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain TechnologySyedMahammad1
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain TechnologyMahammad Syed
 
Blockchain: The New Technology of Trust
Blockchain: The New Technology of TrustBlockchain: The New Technology of Trust
Blockchain: The New Technology of TrustMarco Segato
 
Executive summary guild42 elca_blockchain.pptx_v1.0
Executive summary guild42 elca_blockchain.pptx_v1.0Executive summary guild42 elca_blockchain.pptx_v1.0
Executive summary guild42 elca_blockchain.pptx_v1.0Nagib Aouini
 
Diseño del Smart Contract Blockchain: ejemplo para Real Estate
Diseño del Smart Contract Blockchain: ejemplo para Real EstateDiseño del Smart Contract Blockchain: ejemplo para Real Estate
Diseño del Smart Contract Blockchain: ejemplo para Real EstateJosé Luis Casal
 
SpaceChain - Blockchain in Space
SpaceChain - Blockchain in SpaceSpaceChain - Blockchain in Space
SpaceChain - Blockchain in SpaceAlecHo7
 
Insight Into Cryptocurrencies - Methods and Tools for Analyzing Blockchain-ba...
Insight Into Cryptocurrencies - Methods and Tools for Analyzing Blockchain-ba...Insight Into Cryptocurrencies - Methods and Tools for Analyzing Blockchain-ba...
Insight Into Cryptocurrencies - Methods and Tools for Analyzing Blockchain-ba...Bernhard Haslhofer
 
blockchain and insurance.pdf
blockchain and insurance.pdfblockchain and insurance.pdf
blockchain and insurance.pdfakshay pateriya
 
BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY
BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY
BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY csandit
 

Similar to Blockchain (20)

Paradigm shift: from the bitcoin Blockchain to Networked Computing
Paradigm shift: from the bitcoin Blockchain to Networked ComputingParadigm shift: from the bitcoin Blockchain to Networked Computing
Paradigm shift: from the bitcoin Blockchain to Networked Computing
 
Real-life Application of a Decentralized System
Real-life Application of a Decentralized SystemReal-life Application of a Decentralized System
Real-life Application of a Decentralized System
 
Blockchain: The Game-changer To Radically Transform Your Business
Blockchain: The Game-changer To Radically Transform Your Business Blockchain: The Game-changer To Radically Transform Your Business
Blockchain: The Game-changer To Radically Transform Your Business
 
Blockchain based Banking System
Blockchain based Banking SystemBlockchain based Banking System
Blockchain based Banking System
 
IRJET- Blockchain Technology
IRJET- Blockchain TechnologyIRJET- Blockchain Technology
IRJET- Blockchain Technology
 
Improved Particle Swarm Optimization Based on Blockchain Mechanism for Flexib...
Improved Particle Swarm Optimization Based on Blockchain Mechanism for Flexib...Improved Particle Swarm Optimization Based on Blockchain Mechanism for Flexib...
Improved Particle Swarm Optimization Based on Blockchain Mechanism for Flexib...
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
CIKMTutorial.pdf
CIKMTutorial.pdfCIKMTutorial.pdf
CIKMTutorial.pdf
 
Blockchain: The New Technology of Trust
Blockchain: The New Technology of TrustBlockchain: The New Technology of Trust
Blockchain: The New Technology of Trust
 
Blockchain technology
Blockchain technologyBlockchain technology
Blockchain technology
 
Blockchain
BlockchainBlockchain
Blockchain
 
Executive summary guild42 elca_blockchain.pptx_v1.0
Executive summary guild42 elca_blockchain.pptx_v1.0Executive summary guild42 elca_blockchain.pptx_v1.0
Executive summary guild42 elca_blockchain.pptx_v1.0
 
Diseño del Smart Contract Blockchain: ejemplo para Real Estate
Diseño del Smart Contract Blockchain: ejemplo para Real EstateDiseño del Smart Contract Blockchain: ejemplo para Real Estate
Diseño del Smart Contract Blockchain: ejemplo para Real Estate
 
SpaceChain - Blockchain in Space
SpaceChain - Blockchain in SpaceSpaceChain - Blockchain in Space
SpaceChain - Blockchain in Space
 
Blockchain_101.pdf
Blockchain_101.pdfBlockchain_101.pdf
Blockchain_101.pdf
 
Insight Into Cryptocurrencies - Methods and Tools for Analyzing Blockchain-ba...
Insight Into Cryptocurrencies - Methods and Tools for Analyzing Blockchain-ba...Insight Into Cryptocurrencies - Methods and Tools for Analyzing Blockchain-ba...
Insight Into Cryptocurrencies - Methods and Tools for Analyzing Blockchain-ba...
 
blockchain and insurance.pdf
blockchain and insurance.pdfblockchain and insurance.pdf
blockchain and insurance.pdf
 
BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY
BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY
BLOCKCHAIN-BASED SMART CONTRACTS : A SYSTEMATIC MAPPING STUDY
 

Recently uploaded

办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书zdzoqco
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Sonam Pathan
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Roomdivyansh0kumar0
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Sonam Pathan
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作ys8omjxb
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Roomdivyansh0kumar0
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMartaLoveguard
 
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja VipCall Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja VipCall Girls Lucknow
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhimiss dipika
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Dana Luther
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Roomishabajaj13
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITMgdsc13
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一Fs
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Paul Calvano
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationLinaWolf1
 
Complet Documnetation for Smart Assistant Application for Disabled Person
Complet Documnetation   for Smart Assistant Application for Disabled PersonComplet Documnetation   for Smart Assistant Application for Disabled Person
Complet Documnetation for Smart Assistant Application for Disabled Personfurqan222004
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 

Recently uploaded (20)

办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
 
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
 
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptxMagic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptx
 
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
 
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja VipCall Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhi
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITM
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
 
Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24Font Performance - NYC WebPerf Meetup April '24
Font Performance - NYC WebPerf Meetup April '24
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 Documentation
 
Complet Documnetation for Smart Assistant Application for Disabled Person
Complet Documnetation   for Smart Assistant Application for Disabled PersonComplet Documnetation   for Smart Assistant Application for Disabled Person
Complet Documnetation for Smart Assistant Application for Disabled Person
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
 

Blockchain

  • 1. Blockchain Technologies BABU PALLAM 2017CS18 M.tech, 2nd Year, Computer Science and Engineering(CSED) Motilal Nehru National Institute of Technology Allahabad October 15, 2018
  • 2. Contents 1 Introduction What is blockchain? Why do we need blockchain? 2 Blockchain fundamentals Architecture How blockchain works? 3 Blockchain underlying technologies 4 Case Study: BIDaaS 5 Conclusion BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 2 / 22
  • 3. What is blockchain ? It is a distributed ledger technology, developed by Satoshi Nakamoto, in 2008, through the invention of Bitcoin. Different perspectives: It is a data structure. It is an abstract data type. It is a technology. It is an umbrella term. BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 3 / 22
  • 4. Why do we need blockchain? A new social adequate is being created! Centralization to decentralization. Untrusted environment require documentation. Characteristics of blockchain: It is immutable. It provides security and resilient towards tampering. It is always consistent. It provides decentralized computing platform. It provides cent per cent uptime of data. BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 4 / 22
  • 5. Blockchain Architecture Communication medium: Internet. Decentralised network: Peer to peer network. Decentralised storage: Distributed ledger. Decentralised law: Consensus algorithms. Decentralised apps.: Interface between the user. BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 5 / 22
  • 6. How blockchain works? Tasks need to be addressed: 1 Transaction generation 2 Storing the transactions 3 Preparing trustworthy environment 4 Distributing blocks and transactions 5 Updating ledger by new transactions or blocks BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 6 / 22
  • 7. How blockchain works? 1 Transaction generation Signing the transaction At sender(A) side: BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 7 / 22
  • 8. How blockchain works? 1 Transaction generation Verifying the transaction At recipient side: BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 8 / 22
  • 9. How blockchain works? 2 Storing the transactions BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 9 / 22
  • 10. How blockchain works? 3 Preparing trustworthy environment Goal: Blockchain should be immutable. Idea: Consensus is computationally expensive. Merkle tree makes manipulation easily noticable. 4 Distributing blocks and transactions Goal: How do the nodes observe new transactions and blocks? Idea: Messages send in a gossip style. Timestamp in each transaction helps node to order and ignore duplicates. BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 10 / 22
  • 11. How blockchain works? Concensus algorithm: Proof of work 1 Get the Merkle root from tree of transactions to be added. 2 Create previous hash reference. 3 set difficulty-level = number of zeros preceded by the hash. 4 Get timestamp. 5 Set nonce = 0. 6 Apply hash puzzle: Find the hash of block header by varying nonce, so that number of zeros at the first place of hash should be equal to difficulty-level. BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 11 / 22
  • 12. How blockchain works? 5 Updating ledger by new transactions or blocks 1 Node takes new transaction/block from mailbox and start processing. 2 In case of new transactions: 1 The node will verify each transaction. 2 If its invalid, node will discard it. 3 Perform proof of work with valid transactions 4 Broadcasts newly created block to the network. 3 In case of new blocks: 1 Verify all the transactions includes in it and proof of work. 2 Once it verified and is valid, update the local ledger 3 Once it verified and is invalid, discard it. BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 12 / 22
  • 13. Blockchain underlying technologies BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 13 / 22
  • 14. Blockchain underlying technologies 1. Encryption Encryption: A way to acheive data security. Encryption in blockchain: Provides data security. Independent existence: Anywhere in digital world. Blockchain without Encryption: loss data security. BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 13 / 22
  • 15. Blockchain underlying technologies 1. Encryption Encryption: A way to acheive data security. Encryption in blockchain: Provides data security. Independent existence: Anywhere in digital world. Blockchain without Encryption: loss data security. 2. Smart contract Smart contract: Self exicuting script. Smart contract in blockchain: Helps to create business logic. Independent existence: Can be implemented. Blockchain without Smart contract: Possible. BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 13 / 22
  • 16. Blockchain underlying technologies 3. Distributed ledger Distributed ledger: A consensually shared and synchronized database across a network. Distributed ledger in blockchain: Ensures data consistency. Independent existence: Yes, possible. Phase King algorithm for BFT. Distributed lock service by google. Blockchain without distributed ledger: Possible, it is not mandatory. BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 14 / 22
  • 17. Case Study: Blockchain based ID as a Service BIDaaS Infrastructure BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 15 / 22
  • 18. Case Study: Blockchain based ID as a Service The terms associated with the entities: Virtual ID of user Uusr Private key of User Kusr pri Public key of User Kusr pub Private key of Partner Kptn pri Public key of Partner Kptn pub Private key of BIDaaS provider Kpro pri Public key of BIDaaS provider Kpro pub Encryption with private key EKpri () Decryption with public key DKpub () nonce r BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 16 / 22
  • 19. Case Study: Blockchain based ID as a Service User virtual ID creation: User generates the virtual ID from its private key Uusr = SHA256(Kusr pri ) User Registration: (Kusr pub, Uusr , EKpro pri (Kusr pub, Uusr )) BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 17 / 22
  • 20. Case Study: Blockchain based ID as a Service Mutual authentication: User sends its virtual id and a nonce value to the associated partner. M1 = (Uusr , r, EKusr pri (Uusr , r)) The partner validates M1: DKusr pub (EKusr pri (Uusr , r)) The provider sends response message M2 back to the user. M2 = (Uusr , r + 1, EKusr pub (Uusr , r + 1, Kptn pub)) User validates M2 using r + 1. After validation, the user sends M3 as acknowledgement. M3 = (Uusr , r + 2, EKptn pub (Uusr , r + 2)) The partner validates M3, then mutual authentication is successful. BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 18 / 22
  • 21. Case Study: Blockchain based ID as a Service Real world example with BIDaaS infrastructure: BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 19 / 22
  • 22. Conclusion Blockchain is unlocked a new paradigm for distributed computing and applications. The underlying technologies and new innovations make the blockchain revolution without blockchain. The future of blockchain would probably be a decentralized Internet, in turn a decentralized society. BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 20 / 22
  • 23. References By Hanna Halaburda Blockchain Revolution Without the Blockchain? Communications of the ACM, July 2018, Vol. 61 No. 7, Pages 27-29 10.1145/3225619. Johg-Hyouk Lee BIDaaS: Blockchain Based ID As a Service IEEE Access ( Volume: 6 ) 2169-3536 10.1109/ACCESS.2017.2782733. By Satoshi Nakamoto Bitcoin: A Peer-to-Peer Electronic Cash System www.bitcoin.org. BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 21 / 22
  • 24. Thank You BABU PALLAM 2017CS18 (MNNIT) Blockchain Technologies October 15, 2018 22 / 22