37
Blockchain & Virtual Currencies Technology, Opportunities and Threats Rohas Nagpal Shinam Arora 7 th May, 2016 at Mumbai

BlockChain seminar by Rohas Nagpal by CSI

Embed Size (px)

Citation preview

Page 1: BlockChain seminar by Rohas Nagpal by CSI

Blockchain & Virtual CurrenciesTechnology, Opportunities and Threats

Rohas NagpalShinam Arora

7thMay,2016atMumbai

Page 2: BlockChain seminar by Rohas Nagpal by CSI

WhatisMoney?Fiatcurrency:DesignatedaslegaltenderbytheGovernment.Backedbycommodi8es?

Ipromisetopaythebearerthesumofonethousandrupees.

e-Money:Digitaltransfermechanismforfiatcurrency.Mobilewallets?Creditcards?VirtualCurrency:Notdesignatedaslegaltender.

þ  amediumofexchangeþ  aunitofaccountþ  astoreofvalue

Page 3: BlockChain seminar by Rohas Nagpal by CSI

Crypto-currenciesþ  Distributedþ  open-sourceþ  math-basedþ  peer-to-peerþ  de-centralizedþ  conver8ble

Morethan700tradedcrypto-currencies

Source:hFps://coinmarketcap.com/all/views/all/

Page 4: BlockChain seminar by Rohas Nagpal by CSI

The jargon

A look at some of the key concepts in blockchain & crypto-currencies.

Page 5: BlockChain seminar by Rohas Nagpal by CSI

Thejargonþ  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minerso  Addresso  Wallets

SymmetricCryptography

Imagesource:AnIntroduc8ontoCryptography–PGPCorpora8on

Page 6: BlockChain seminar by Rohas Nagpal by CSI

Thejargonþ  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minerso  Addresso  Wallets

AsymmetricCryptography

Imagesource:AnIntroduc8ontoCryptography–PGPCorpora8on

Page 7: BlockChain seminar by Rohas Nagpal by CSI

Thejargono  Cryptographyþ  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minerso  Addresso  Wallets

One-wayHashFuncIons

Input Hash

sanya c75491c89395de9fa4ed29affda0e4d29cbad290

SANYA 33fef490220a0e6dee2f16c5a8f78ce491741adc

Sanya 4c391643f247937bee14c0bcca9Z985fc0d0ba

Page 8: BlockChain seminar by Rohas Nagpal by CSI

Thejargono  Cryptographyo  Hashfunc8onsþ  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minerso  Addresso  Wallets

DigitalSignatures

Imagesource:AnIntroduc8ontoCryptography–PGPCorpora8on

Page 9: BlockChain seminar by Rohas Nagpal by CSI

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignaturesþ  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minerso  Addresso  Wallets

Hashbeginswith5zeros

[email protected]:[email protected]:18032016:xxxx

input [email protected]:[email protected]:18032016:1

hash 288721860bec3a490811981c831702d4f41e54c3f8c183c5650ac73ff231659c

input [email protected]:[email protected]:18032016:2

hash 11caf434535c35cdc843e801382f0a8643a03500649a9bfa41c8e6a4be65a413

input [email protected]:[email protected]:18032016:1580661

hash 0000080602f705257e74a4e847e9ed23ab61be5b2ba4263\acc90bd7c7c7ab4

...increasenonceIll….

CompuInghashisnottrivial,verificaIonis.

Page 10: BlockChain seminar by Rohas Nagpal by CSI

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworkþ  Double-spendingo  Blockchaino  Merkletreeo  Minerso  Addresso  Wallets

Canyoudouble-spendphysicalcurrency?Incaseofphysicalcurrencynotes,youcannotdouble-spendanotebecauseonceyouhandthenoteovertosomeone,youdon’thavethenoteanymoretospendagain.Canyoudouble-spendvirtualcurrency?Sinceelectronicrecordsareeasilyduplicated,a“digitalcoin”canbespentmul8ple8mes.

Page 11: BlockChain seminar by Rohas Nagpal by CSI

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingþ  Blockchaino  Merkletreeo  Minerso  Addresso  Wallets

Imagesource:hFps://upload.wikimedia.org/wikipedia/commons/7/7a/Bitcoin_Block_Data.png

Blockchainisapublicledgercontaininganorderedand8me-stampedrecordoftransac8ons.Itpreventsdouble-spendingaswellasthemodifica8onofprevioustransac8onrecords.

Page 12: BlockChain seminar by Rohas Nagpal by CSI

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchainþ  Merkletreeo  Minerso  Addresso  Wallets

Imagesource:hFps://en.wikipedia.org/wiki/Merkle_tree#/media/File:Hash_Tree.svg

Page 13: BlockChain seminar by Rohas Nagpal by CSI

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeþ  Minerso  Addresso  Wallets

•  Whileagoldminerdigsintotheearthtodiscovergold,abitcoinminerusescomputa8onalpowertocalculatehashes.

•  Toaddanen8reblocktotheblockchain,aBitcoinminermustsuccessfullyhashablockheadertoavaluebelowthetargetthreshold.

•  MinersspendoncomputaIonalpowerandelectricityandarecompensatedbywayofarewardforeachblocktheymineandtransacIonfees.

•  Minersusuallyoperateaspartofalargepoolinsteadofasindividuals.

Page 14: BlockChain seminar by Rohas Nagpal by CSI

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeþ  Minerso  Addresso  Wallets

Imagesource:Wikipedia

Page 15: BlockChain seminar by Rohas Nagpal by CSI

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeþ  Minerso  Addresso  Wallets

Imagesource:Wikipedia

Page 16: BlockChain seminar by Rohas Nagpal by CSI

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeþ  Minerso  Addresso  Wallets

Imagesource:bitcoin.com

Page 17: BlockChain seminar by Rohas Nagpal by CSI

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minersþ  Addresso  Wallets

Therearecurrentlytwoaddressformatsincommonuse:CommonP2PKHwhichbeginwiththenumber11BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2NewerP2SHtypestar8ngwiththenumber33J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy

Page 18: BlockChain seminar by Rohas Nagpal by CSI

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minersþ  Addresso  Wallets

Page 19: BlockChain seminar by Rohas Nagpal by CSI

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minerso  Addressþ  Wallets

•  Collec8onofprivatekeys.

•  Thesecollec8onsarestoreddigitallyinafile,orcanevenbephysicallystoredonpiecesofpaper.

•  Althoughit’scalledawallet,aBitcoinwalletdoesnotstorebitcoins.Thewalletisacollec8onofpublic-privatekey-pairs.

Page 20: BlockChain seminar by Rohas Nagpal by CSI

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minerso  Addressþ  Wallets

ThesimplestBitcoinwalletisaprogram,whichperformsthesefunc8ons:

•  itgeneratesprivatekeys,

•  derivesthecorrespondingpublickeys,

•  helpsdistributethosepublickeysasnecessary,

•  monitorsforoutputsspenttothosepublickeys,

•  createsandsignstransac8onsspendingthoseoutputs,

•  broadcaststhesignedtransac8ons.

Page 21: BlockChain seminar by Rohas Nagpal by CSI

Thejargono  Cryptographyo  Hashfunc8onso  DigitalSignatureso  Proofofworko  Double-spendingo  Blockchaino  Merkletreeo  Minerso  Addressþ  Wallets

Source:hFps://bitcoin.org/en/choose-your-wallet

Page 22: BlockChain seminar by Rohas Nagpal by CSI

Bitcoin in the real world

A look at how Bitcoin, the most popular crypto-currency is being used in the real world.

Page 23: BlockChain seminar by Rohas Nagpal by CSI

BitcoinATMTheworld’sfirstbitcoinATMwassetupinWavescoffeeshopinVancouver,CanadainOctober2013

Imagecourtesy:GeFy

Page 24: BlockChain seminar by Rohas Nagpal by CSI

UsingtheBitcoinATMAuserscansaQRcodeonhissmartphonetotransferbitcoins

Imagecourtesy:GeFy

Page 25: BlockChain seminar by Rohas Nagpal by CSI

BitcoinATMmap

Source:hFp://www.coindesk.com/bitcoin-atm-map/

Page 26: BlockChain seminar by Rohas Nagpal by CSI

BrazilianUniversityAcceptsBitcoin,InstallsCampusATM

Source:hFp://www.coindesk.com/

Page 27: BlockChain seminar by Rohas Nagpal by CSI

Imagecourtesy:www.bitcoinatm.com

Page 28: BlockChain seminar by Rohas Nagpal by CSI

BitcoinATMs

Imagecourtesy:www.bitcoinatm.com

Page 29: BlockChain seminar by Rohas Nagpal by CSI

Bitcoins&captchaBitcoinscanbeearnedbyfillingoutcaptcha.Thisisprobablyfundedbyspammerswhoneedhumanstofilloutcaptchaforms.

Page 30: BlockChain seminar by Rohas Nagpal by CSI

Bitcoins&loeery

Page 31: BlockChain seminar by Rohas Nagpal by CSI

Whatcanyoubuyusingbitcoin?

Source:hFp://bitcoin-realestate.com/

Page 32: BlockChain seminar by Rohas Nagpal by CSI

Whatcanyoubuyusingbitcoin?þ  Autos&Motorcyclesþ  Jewelry&Watchesþ  RealEstateþ  Travel&VIPEventsþ  FineArt&An8quesþ  Collec8blesþ  Handbags&Accessoriesþ  Yachts&Subsþ  PremiumDomains

Source:hFps://www.bitpremier.com/

Page 33: BlockChain seminar by Rohas Nagpal by CSI
Page 34: BlockChain seminar by Rohas Nagpal by CSI
Page 35: BlockChain seminar by Rohas Nagpal by CSI
Page 36: BlockChain seminar by Rohas Nagpal by CSI

BitcoinLaunderingQuickLaunder“Wescrambleyourbitcoinswiththecoinsofotherusers….(it)willonlyslowdown-notstop-amo8vatedinves8gatorfrombacktracingyourbitcoin”.SecureLaunder..“rendersyourbitcoinscompletelyuntraceable,eventothemostpersistentforensicinves8gator”…

Source:hFps://bitlaunder.com/launder-bitcoin

Page 37: BlockChain seminar by Rohas Nagpal by CSI

Blockchain & Virtual CurrenciesTechnology, Opportunities and Threats

Rohas Nagpal ([email protected])Shinam Arora ([email protected])