Bitcoin: Fake, Virtual and Real Partha Dasgupta Arizona State University Tempe, AZ, USA Note: “Current” numbers used are from mid-2015.

Slides:



Advertisements
Similar presentations
The easy answers to the hard questions! WHAT IS BITCOIN?
Advertisements

Money and Banking Evolution of Money. Functions of Money Barter Economy –Moneyless economy that relies on trade –Hindered b/c some products offered may.
COMS 486 Iowa State University Introduction to Bitcoin A P2P Electronic Cash System.
1 Digital Signatures & Authentication Protocols. 2 Digital Signatures have looked at message authentication –but does not address issues of lack of trust.
Bitcoin. What is Bitcoin? A P2P network for electronic payments Benefits: – Low fees – No middlemen – No central authority – Can be anonymous – Each payment.
Michal Kriziak MA1N0218 Financial Management The Bitcoin Currency.
Bitcoin Double Spending Attack Karame, Androulaki & Capkun Presented by Subhro Kar CSCE 715, Fall 2013.
Stefan Dziembowski Why do the cryptographic currencies need a solid theory? Forum Informatyki Teoretycznej, Warsaw
1 Chapter 5 Money and the Federal Reserve These slides supplement the textbook, but should not replace reading the textbook.
Advanced Computer Communications PROFESSOR:STUDENT: PROF. DR. ING. BRAD REMUS STEFAN FEILMEIER FACULTATEA DE INGINERIE HERRMANN OBERTH MASTER-PROGRAM.
8-1 What is network security? Confidentiality: only sender, intended receiver should “understand” message contents m sender encrypts message m receiver.
Presented by Xiaoping Yu Cryptography and PKI Cosc 513 Operating System Presentation Presented to Dr. Mort Anvari.
BITCOIN An introduction to a decentralised and anonymous currency. By Andy Brodie.
Bitcoin is the FUTURE of MONEY!!
Network Security – Part 2 V.T. Raja, Ph.D., Oregon State University.
Money and Stabilization Policy KW Chapter 30. Money Money is a tool for conducting transactions and, like all tools, is subject to technological advance.
Alexander Potapov.  Authentication definition  Protocol architectures  Cryptographic properties  Freshness  Types of attack on protocols  Two-way.
Supporting Technologies III: Security 11/16 Lecture Notes.
The world’s first decentralized digital currency Meni Rosenfeld Bitcoil 29/11/2012Written by Meni Rosenfeld1.
Digital Cash By Gaurav Shetty. Agenda Introduction. Introduction. Working. Working. Desired Properties. Desired Properties. Protocols for Digital Cash.
MIS 3090 IT for Financial Services Digital Cash September 4, 2015.
Chapter 3 What Is Money?.
Digital Currency Kody Myers. Definition Currency that does not exist in any physical form, but can be used similarly to physical currency while retaining.
Bitcoin (what, why and how?)
1. WHAT IS MONEY? Learning Objectives 1.Define money and discuss its three basic functions. 2.Distinguish between commodity money and fiat money, giving.
8-1Network Security Chapter 8 roadmap 8.1 What is network security? 8.2 Principles of cryptography 8.3 Message integrity, authentication.
Network Security – Part 2 (Continued) Lecture Notes for May 8, 2006 V.T. Raja, Ph.D., Oregon State University.
Cryptography, Authentication and Digital Signatures
Digital Cash. p2. OUTLINE  Properties  Scheme  Initialization  Creating a Coin  Spending the Coin  Depositing the Coin  Fraud Control  Anonymity.
1 Chapter 9: Key Management All algorithms we have introduced are based on one assumption: keys have been distributed. But how to do that? Key generation,
23-1 Last time □ P2P □ Security ♦ Intro ♦ Principles of cryptography.
1 Bitcoin A Digital Currency. Functions of Money.
IT FOR FINANCIAL SERVICES IS356. Agenda What is Bitcoin? A digital currency that is created and exchanged independently of any government or bank. Bitcoin.
Advanced Database Course (ESED5204) Eng. Hanan Alyazji University of Palestine Software Engineering Department.
Lecture 16: Security CDK4: Chapter 7 CDK5: Chapter 11 TvS: Chapter 9.
Upper OSI Layers Natawut Nupairoj, Ph.D. Department of Computer Engineering Chulalongkorn University.
BITCOIN What is bitcoin? Put simply, bitcoin is a digital currency. It can be used to make electronic payments face to face or over the internet just like.
Bitcoin today (October 2, 2015)
1 Lecture 5: What’s Money? Mishkin chapter 3 – part A Page
Electronic Cash R. Newman. Topics Defining anonymity Need for anonymity Defining privacy Threats to anonymity and privacy Mechanisms to provide anonymity.
IS ANONYMOUS CURRENCY A GOOD IDEA? BY ADAM LASSWELL.
Bitcoins: Decentralized Digital Currency How it Works When Bitcoin was first created, 21 million coins were scattered across the digital realm and hidden.
Lecture 9 Overview. Digital Signature Properties CS 450/650 Lecture 9: Digital Signatures 2 Unforgeable: Only the signer can produce his/her signature.
Bitcoin Tech Talk Zehady Abdullah Khan (Andy) Graduate Assistant, Computer Science Department, Purdue University.
Section #9: Bitcoins. Digital currency Unique string of bits Use cryptography for security and privacy Not tied to names: hard to trace Finite set of.
1 Expert Mission on Electronic Payments Bitcoin as virtual currency – analysis Adam Janiszewski TAIEX mission in Baku 5-7 May 2015.
How to Store and Use Bitcoins Tyler Moore, CS 7403, University of Tulsa Slides adapted from Arvind Narayanan, Joseph Bonneau, Edward Felten, Andrew Miller,
Money and Inflation. Definition of Barter  Barter is a type of trade in which goods or services are directly exchanged for other goods and/or services,
Block Chain 101 May 2017.
Motivation ✓ ✘ ? Bitcoin/Ideal Credit Card Works on Internet
Crypto Mining Presented by: 803Mine.com & TheCryptoMiners.com.
Basics of Cryptography
Cryptocurrencies by.
Bitcoin - a distributed virtual currency system
Bitcoin, what is it? Bitcoin is a form of digital currency.
Distributed Systems for Information Systems Management
Deanonymization of Clients in Bitcoin P2P Network
Keys Campbell R. Harvey Duke University, NBER and
Data Structures and Analysis (COMP 410)
Campbell R. Harvey Duke University and NBER
EECS 498 Introduction to Distributed Systems Fall 2017
Crypto Mining LLC.
Campbell R. Harvey Duke University and NBER
Modernization of. Currency. Evolution Of Currency: Bartering System: Grains and cattle are popular in Barters. Firstly recorded in Egypt. Coinage: Metals.
Faculty Seminar Series Blockchain Technology
Chapter 8 roadmap 8.1 What is network security?
Campbell R. Harvey Duke University and NBER
GAYATRI INSTITUTE OF COMPUTER AND MANAGEMENT HINJILICUT (GANJAM)
Presentation transcript:

Bitcoin: Fake, Virtual and Real Partha Dasgupta Arizona State University Tempe, AZ, USA Note: “Current” numbers used are from mid-2015

Trailer and Hype

Overview u What is bitcoin? u What is money and/or currency?  Real or fake? (Fiat) u Bitcoin properties u Cryptography u Bitcoin logs, mining and transactions u Using Bitcoins u Bitcoin properties, again

Money? Currency? u Money: a store of value. An object that can be traded for any other object  Gold  Valuable coins u Currency: A (simpler) medium of exchange of money and goods + policies  Circulation of money, creation/deletion of money, monetary policy u In most cases >> money = currency u Fiat Currency: A form of currency that has value because someone in authority says it has value. Governments.  USD, INR, CNY/RMB, EUR, GBP, JPY and so on. u Bitcoin is digital fiat currency  No authority, users think is has value  Completely digital

Government Guarantee? u Does government guarantee currency? u Indian Rupees Indian Rupees u US Dollars US Dollars

Bitcoin vs “Real” Currency u “Real” currency is a number in a bank – bitcoin is different  Every coin has an identity and is verifiably not forged. Every coin has an owner u “Real” currency is made up by governments and banks  Bank create most of the money in the system u “Real” currency is semi-guaranteed by issuer (typically government)  “In God we trust”, “This note is legal tender* for all debts…” (USA)  “This note is legal tender*” (Canada)  “I promise to pay the bearer the sum of Rs xx” (India) u “Real” currency is limitless u “Real” currency is easy to comprehend * Legal Tender = coins or banknotes that must be accepted if offered in payment of a debt

What is BITCOIN? u A (cyber, virtual) currency that is issued, used and controlled by its users  Not cash, stock, bond, smartcard, stored value wallet.  Not a digital replacement of paper money (not tied to US Dollar or Chinese RMB) u Bitcoin is money or currency not created or managed by a country or corporation  Bitcoin users can create bitcoins. (Make money!!)  Bitcoins can be used for transactions  Bitcoins cannot be forged, copied, double spent – security is enforced by cryptography and P2P log checking.  Value?? Ownership?? Control??  Hard to understand but clearly defined.

Currency is virtual and fake and real u US dollar is virtual (numbers in a bank) u US Dollar is fake – there is no guaranteed value  “Fiat Currency”  1 US$ is defined to be worth exactly 1 US$ u US Dollar is real  We use it as real money u Other cyber-currencies:  Namecoin (2011),  LiteCoin (2011),  Peercoin (2012)  Dogecoin (2013)

Bitcoin Prices in USD $17 $228 $1200

Satoshi? No, Satoshi Nakamoto is a 64-year-old Japanese man living in California, probably...[NOT]

Where did Bitcoin come from? u A paper that was anonymously sent to a journal. By a person called “Satoshi Nakamoto”. Never published. u No one knows who Satoshi is, real name, age, gender, location.  Some have claimed to have received s from Satoshi. u A group of open source developers programmed the Bitcoin software and made it available  Bitcoin software is easily obtained, servers can be set up  People have set up bitcoin infrastructure  Bitcoin exchanges convert national currencies to Bitcoins and vice versa, exchange rates are set by market values. u Bitcoin is P2P u Yes, it is a mystery, yet it is trusted.

Bitcoin Properties (and Gold) u Bitcoin is a digital thing, whose properties are similar to gold. u Bitcoin is difficult to create (or mine)  In the beginning it was easy  Now it is hard  It is going to get harder, finite supply. u The total number of bitcoins is limited. Just like gold. u The value of bitcoin is what people are willing to pay for it.  Or sell for it u Anyone can “make” a bitcoin. It is like finding gold. u Anyone can verify that a bitcoin is genuine.  Counterfeiting is impossible

Bitcoin properties u Bitcoin is digital u Bitcoin is easy to transfer  If Alice has 1 BTC, she can give it to Bob  Transaction costs are very low u Bitcoin can be used to buy things u Bitcoin is anonymous (like paper money) u Bitcoins are divisible, one bicoin can be divided into 10 8 smaller units. u Converting Bitcoins and other currencies are done via bitcoin exchanges  MtGox is the most popular exchange

Finite Supply u The total number of Bitcoins that can be created is 21 million  About 14.2 million has already been created (06/2015)  New bitcoins will stop being created in 2140 (approx) u Current creation rate is 6 bitcoins every hour  Rate in 2012 was 140/hour  Bitcoin miners race each other to see who can create the coins. Adding compute power helps but not by much  A self regulating protocol, it gets harder to create bitcoin, the more bitcoins are created u The control of bitcoin supply is not via policy but via protocol  The bitcoin protocol defines a new coin as a hash value of that has a set of 0s and the number of zeros controls the difficulty

Cryptographic Basic – Large Numbers u Find a particular 256 bit (32 byte) number u Enumerate all numbers 1 billion/sec (1GHz) 2 30 billion = giga 10^9 1,073,741,8241 sec 2 40 trillion = tera 10^12 1,099,511,627,77618 mins ,125,899,906,842,62013 days ,152,921,504,606,850,00036 years *10^2739 billion years *10^38 10 million-trillion years *10^773*10^60 years u Total Number of Atoms on Earth: 2160

Cryptographic Basics u Nonce: A large (>128 bit) random number. No two nonces are equal u Cryptographic Hash u Not two inputs produce the same output hash!  If you know the input, you can easily compute the hash  You cannot find ANY input that produces a particular hash Input Data Bits, large number 256 bit hash Hash Function

Cryptographic Basics u Public Key Encryption u Digital Signatures Input (plaintext) Output (ciphertext) Encrypt Plaintext (same as input) Encrypt Public key (k1) Private key (k2) Input Document Hash of input Encrypt hash with private key

What is Bitcoin? Again u Bitcoin transaction log  A log of all transactions using bitcoints  Contains the bitcoin and the originating wallet and the destination wallet  A signature (digital signature) from the sending wallet u Bitcoin  A date, a wallet ID and a segment of a transaction log and a hash value  The last k-bits of the hash are all zeros.  Changing k makes creating (mining) bitcoins harder

A New Bitcoin u A block of the transaction log, a nonce and a hash value u The has value must be lower than the current “target” NONCE Transaction log block + hash _ _ _ _ _ _ Current Target (6/2015) A8B bit random number

Transferred Bitcoin u Bitcoins are transferred from one wallet to another by adding a chain of transactions, signed by the sender (owner) u Senders and receivers have IDs, same as wallet ID

Global Transaction Log  Blockchain u Alice sends 1 BTC to Bob u Alice creates a log, signs it and this log is sent to Bob, as Bobs bitcoin u The log is also sent to a global log u Global logs are stored at P2P bitcoin log sites u Bob can check if Alice has sent the log to the global log u Global log checks if Alice sends the same bitcoin twice  Make sure Alice does not cheat u Every transaction is known to everyone

Blockchain u A blockchain is a copy of all transactions ever made on bitcoins  Each block has a hash of previous block  Can/will get large  Can have splits (and orphan chains are merged back)  Blocks in the main chain (black) are the blocks that go from the genesis block (green) to the current block. u Ensures complete transparency and no double spending u The distributed bitcoin network keeps a lot of copies of blockchains  Scaling this system has received a lot of research attention

Bitcoin Wallets u Alice has one or more wallets u Wallets store bitcoins  Alice’s wallet can be stored on Alice’s computer u Every wallet has an ID u The ID is the public key of the wallet, the private key is kept securely inside the wallet u Private key is used to sign transactions, public key is used to identify  No certificate authorities exist  “self signed”

Wallet Transaction Log

Anonymity u Everything is public  Every bitcoin wallet has an ID  Every transaction is globally known  Hence it is possible to know the amount of bitcoins in a wallet u Yet, bitcoins are anonymous? u Yes, if bitcoin wallet ID is not traced to a human ID  Responsibility of wallet owner  Multiple wallets/IDs make tracking harder

Security u Bitcoin is cryptographically secure  Security is maintained by cryptographic functions, hash, public key encryption u All actions are public  Bitcoin global logs check for fraudulet transactions and reject them u Forging bitcoins and blockchins is hard (infeasible) u No one has shown any flaws in the protocol u Bitcoins can be stolen (cash, gold) u Bitcoin spending is irreversible u Bitcoin wallets can be stolen u Bitcoins can be lost, if the wallet storage is lost u Bitcoins sending has risks, recipient can spoof!

Bitcoin Acceptance u New currency, acceptance is slow u Not many buyers and sellers take bitcoins  But it is growing u Total value of Bitcoins: $1.5 billion USD u Transaction volume: About $30 million USD/day u Not known:  Will bitcoins be a global currency some day?  Will bitcoins replace currencies controlled by governments?

Where is this headed? u Mysterious…. Unknown….(exciting?)