SlideShare une entreprise Scribd logo
1  sur  18
A Brief Introduction to
Bitcoin
Mir Saman Tajbakhsh
IT PhD. Candidate, Urmia University
ms.tajbakhsh@urmia.ac.ir
https://mstajbakhsh.ir
whoami
 Mir Saman Tajbakhsh
 IT PhD. Candidate, Urmia University
 Social Network Analysis and Data Mining (Academical)
 Computer Security (Practical)
 Bitcoin, Back in 2014, Op Silk Road!
 P0SCon2018  Kenan Abdullahoglu
 https://mstajbakhsh.ir
 ms.tajbakhsh@urmia.ac.ir
Topics
 Bitcoin
 Blockchain
The Problem
 The problems are Before Bitcoin (BB)
 The Situation:
 Always a TTP (Trusted Third Party) is needed for transactions.
 All the payments are reversible (TTP Knows)
 TTP adds cost to the transactions in order to solve conflictions
 Small payments are not suitable for those amount of added costs
 Solution
 P2P money and P2P payments
 Unfeasible calculations are needed to reverse the payment
Bitcoin Benefits
 Uses Internet
 No Bank branches or any other things needed.
 Low transfer cost
 Accessible everywhere
 Anonymous and Private accounts
 Law?
 The only known things:
 Payment ID (not wallet ID)
 Payments
 Accounts are created just by email address which can be temporary or fake.
Gain Bitcoin
 Direct buy from money exchange offices
 Mine
 Miners verify the transactions
 After validation, the whole DB is being updated.
 By Force (https://mstajbakhsh.ir/miner-found/)
 Sell goods or products
Asymmetric Cryptography
 Private/Public Key
 Invention after WWII
 Anyone ones public key (e)
 No one knows private key (d)
 e(M) = C  d(C) = M
 d(M) = C  e(C) = M
Hashing
 One way function
 Any change of input bit, may result in hash.
 MD5, SHA256, SHA512
 Birthday Paradox!
Transaction
 Double Spending Problem
 Big brother should know everything
 WHAT?!
 NOT ONLY Big Brother, BUT ALSO
Everyone should know everything.
Miners
 Start to compute a nounce
 Adds Nounce to the transaction (block) hash
 Decide to add how many transactions should be included in the block
 Usually < 1 MB
 Rewarded after solving 210000 blocks (find nounces)
Anonimity
 WalletID (public key)
 Email Address
 No ID Card needed
 TOR
Blockchain
 A distributed way of storing time based electronic data
 Prevents change in the time
 Prevents changes in the data
 Blockchain is chains of blocks.
 What is a block?
Block
 Block is made up of three main components:
 Data
 From
 To
 Amount
 Block Hash
 Previous Block Hash
Proof of Work
 Find the nonce that add certain amount of 0s to the beginning of the block
hash
 A powerful miner (attacker) may change the entire chain
 There is time limit of adding (changing) a new block
 10 mins in Bitcoin
Network
1) New transactions are broadcast to all nodes.
2) Each node collects new transactions into a block.
3) Each node works on finding a difficult proof-of-work for its block.
4) When a node finds a proof-of-work, it broadcasts the block to all nodes.
5) Nodes accept the block only if all transactions in it are valid and not already
spent.
6) Nodes express their acceptance of the block by working on creating the next
block in the chain, using the hash of the accepted block as the previous hash.
Challenges
 Can it be filtered?
 It is P2P
 Is it feasible for other usages?
 Messages?
 Take money for each transaction!
Thanks

Contenu connexe

Dernier

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Dernier (20)

Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 

En vedette

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

En vedette (20)

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

Brief Introduction to BlockChain and Bitcoin

  • 1. A Brief Introduction to Bitcoin Mir Saman Tajbakhsh IT PhD. Candidate, Urmia University ms.tajbakhsh@urmia.ac.ir https://mstajbakhsh.ir
  • 2. whoami  Mir Saman Tajbakhsh  IT PhD. Candidate, Urmia University  Social Network Analysis and Data Mining (Academical)  Computer Security (Practical)  Bitcoin, Back in 2014, Op Silk Road!  P0SCon2018  Kenan Abdullahoglu  https://mstajbakhsh.ir  ms.tajbakhsh@urmia.ac.ir
  • 4. The Problem  The problems are Before Bitcoin (BB)  The Situation:  Always a TTP (Trusted Third Party) is needed for transactions.  All the payments are reversible (TTP Knows)  TTP adds cost to the transactions in order to solve conflictions  Small payments are not suitable for those amount of added costs  Solution  P2P money and P2P payments  Unfeasible calculations are needed to reverse the payment
  • 5. Bitcoin Benefits  Uses Internet  No Bank branches or any other things needed.  Low transfer cost  Accessible everywhere  Anonymous and Private accounts  Law?  The only known things:  Payment ID (not wallet ID)  Payments  Accounts are created just by email address which can be temporary or fake.
  • 6. Gain Bitcoin  Direct buy from money exchange offices  Mine  Miners verify the transactions  After validation, the whole DB is being updated.  By Force (https://mstajbakhsh.ir/miner-found/)  Sell goods or products
  • 7. Asymmetric Cryptography  Private/Public Key  Invention after WWII  Anyone ones public key (e)  No one knows private key (d)  e(M) = C  d(C) = M  d(M) = C  e(C) = M
  • 8. Hashing  One way function  Any change of input bit, may result in hash.  MD5, SHA256, SHA512  Birthday Paradox!
  • 9. Transaction  Double Spending Problem  Big brother should know everything  WHAT?!  NOT ONLY Big Brother, BUT ALSO Everyone should know everything.
  • 10. Miners  Start to compute a nounce  Adds Nounce to the transaction (block) hash  Decide to add how many transactions should be included in the block  Usually < 1 MB  Rewarded after solving 210000 blocks (find nounces)
  • 11. Anonimity  WalletID (public key)  Email Address  No ID Card needed  TOR
  • 12. Blockchain  A distributed way of storing time based electronic data  Prevents change in the time  Prevents changes in the data  Blockchain is chains of blocks.  What is a block?
  • 13. Block  Block is made up of three main components:  Data  From  To  Amount  Block Hash  Previous Block Hash
  • 14. Proof of Work  Find the nonce that add certain amount of 0s to the beginning of the block hash  A powerful miner (attacker) may change the entire chain  There is time limit of adding (changing) a new block  10 mins in Bitcoin
  • 15. Network 1) New transactions are broadcast to all nodes. 2) Each node collects new transactions into a block. 3) Each node works on finding a difficult proof-of-work for its block. 4) When a node finds a proof-of-work, it broadcasts the block to all nodes. 5) Nodes accept the block only if all transactions in it are valid and not already spent. 6) Nodes express their acceptance of the block by working on creating the next block in the chain, using the hash of the accepted block as the previous hash.
  • 16. Challenges  Can it be filtered?  It is P2P  Is it feasible for other usages?  Messages?  Take money for each transaction!
  • 17.