bdm meetup 2 - blockchain basics - generating keys for bloqpress

30
BLOCKCHAIN DEVELOPERS MALAYSIA http://neuroware.io Meetup #2 - User Generated Topics - November, 2017 sponsored by BLOCKCHAIN DEVELOPER PRESENTATIONS & LIVE DEMOS MARK SMALLEY - Blockchain Basics - Part 2 - Generating Keys BRUNO CLERMONT ( Mystery Inc ) - Decentralized Storage with IPFS RICKARD OBERG ( RealVisionTV ) - Exploring Crypto through Graphs

Upload: mark-smalley

Post on 23-Jan-2018

173 views

Category:

Technology


10 download

TRANSCRIPT

Page 1: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

BLOCKCHAIN DEVELOPERS MALAYSIA

http://neuroware.io

Meetup #2 - User Generated Topics - November, 2017

sponsored by

BLOCKCHAIN DEVELOPER PRESENTATIONS & LIVE DEMOS

MARK SMALLEY - Blockchain Basics - Part 2 - Generating Keys

BRUNO CLERMONT ( Mystery Inc ) - Decentralized Storage with IPFS

RICKARD OBERG ( RealVisionTV ) - Exploring Crypto through Graphs

Page 2: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

Blockchains for DevelopersPART 2 - GENERATING KEYS - FOR BLOQ.PRESS

Page 3: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

INTRODUCING THE BIG BLOCK BITCOIN MINIMALIST

Mark Smalley - CEO ( Neuroware.io )

Living in Malaysia for the past 20 Years

Building FinTech Applications for 15 Years

Spent 10 Years Helping Tech Communities

Building Blockchain Apps for 5 Years

Page 4: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

INTRODUCING R1 DOT MY SDN BHD

GLOBALFUNDING

Only Malaysian company to graduate from 500 Startups Accelerator in Silicon Valley, with funding from Coinsilium too

FINTECHFOCUS

With DBS, Maybank and Securities Commission of Malaysia as clients, we have a broad understanding of fintech

FULL-STACKSERVICES

We provide corporate blockchaintraining and workshops along with

consulting on solutions utilizing Cortex

NEUROWAREenterprise infrastructure

BCE.ASIAconsortium

BLOCKSTRAPframework

Page 5: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

BLOCKSTRAP - EXTREMELY OUT-DATED WALLET FRAMEWORK

Page 6: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

BCE.ASIA - ASEAN’S FIRST PUBLIC BLOCKCHAIN CONSORTIUM

Page 7: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

ENOUGH ABOUT ME

LET’S RE-CAP LAST MONTH’S TOPIC

https://www.youtube.com/watch?v=A-L2M0l5dEY

Page 9: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

ENOUGH ABOUT ME

WHY ARE WE TALKING ABOUT KEYS …?

Page 10: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

BECAUSE THERE ARE NO COINS !!!

Page 11: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

NO ONE IS IN CONTROL

Page 12: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

ON THE BLOCKCHAINS - ACCOUNTS ARE KEYS

Page 13: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

EACH PUBLIC ADDRESS REQUIRES A PRIVATE KEY TO SPEND

Page 14: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

SOME ADDRESSES REQUIRE MULTIPLE KEYS

Page 15: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

WHAT DO THESE KEYS ACTUALLY LOOK LIKE …?

● Example of a Bitcoin public address (derived from the public key):1GzBZ7eK6wzNjp1Wt6AxHo73kJL2tzoErq

● Example of a Bitcoin private key (used to transfer funds from address):L1winVkoRmxMdHKbwssx33Z9ZEuXeJ1eP9CVYvnNn4TdYA32GsWY

● Example of a Bitcoin extended private key (used by HD protocol):xprv9s21ZrQH143K2Ywhg9bhZ5nd31t3EbXsg8v28gkKjSm9PA3PiZ89dWW6YKxWZa2pgTuErQ65K46KGVfu1xCRBCK3Ppd465QGtH7TmxAEiLv

Page 16: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

SALT = CRYPTO | UN = BOOTCAMP | PW = MCQ4

MONEY CAN NOW BE EMBEDDED INTO ANYTHING

THIS SLIDE ONCE CONTAINED 100 DOGECOINS

Page 17: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

WHEN WE GENERATE OUR OWN KEYS - WE CAN DO ANYTHING

● Paper Vs Brain

● Hardware Vs Software

● Hard Drive Vs Web-Service

● Pseudo-Random Vs Deterministic

● Exchanges are NOT wallets …

(1 exchange hacked every 3 months)

Page 18: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

GENERATING KEYS WITH THE TOOLBOX - http://bce.asia/toolbox

Page 19: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

DETERMINISTIC KEYS DO NOT NEED TO BE STORED

Page 20: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

MULTI-SIGNATURE KEYS ARE WHERE IT GETS INTERESTING

Page 21: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

SCHEMA CAN BE ACHIEVED WITH CHILD KEYS

Page 22: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

DATA CAN BE ENCODED AND ENCRYPTED IN TRANSACTIONS

Page 23: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

STITCHING IT ALL TOGETHER

Page 24: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

SELF MANAGED KEY CREATION

LOGIN CREDENTIALS( not stored on device )

-- Username

-- Email

-- Password ------------------------>>

REGISTRATION DETAILS( hashes of each store locally )

-- Date & City of Birth

-- Other Personal Questions

Encrypted by Password

APPLICATION SECRETS( could be public or private )

-- API Key

-- Added Random Server Request

This acts as the Salt

ENCODED ON BLOCKCHAINS( encrypted by public keys )

Username (Can be Verified via DNS Records)

Full Name & Email Address

Page 25: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

TO BE CONTINUED IN PART 3

SECURELY STORING DATA PUBLICLY

Page 26: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

BLOQ.PRESS - THE WORLD’S FIRST IMMUTABLE CMS …?

Page 27: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

● One time cost (forever available)

○ Perfect for the after-life

● Censorship resistance

○ Can bypass firewalls

○ Tamper proof audit trail

● Yeah - but why oh why Bitcoin...?

WHY WOULD WE NEED A BLOCKCHAIN-BASED CMS …?

Page 28: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

YOU MEAN - OTHER THAN ALL THIS ENERGY-BASED SECURITY ???

Page 29: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

BITCOIN ALSO MAKES IT THE ONLY UNIVERSAL CMS TOO !!!

Page 30: BDM Meetup 2 - Blockchain Basics - Generating Keys for BloqPress

email the team anytime - [email protected]