Cryptography & Law an Unexpected Encounter that was Obvious all - - PowerPoint PPT Presentation

cryptography law
SMART_READER_LITE
LIVE PREVIEW

Cryptography & Law an Unexpected Encounter that was Obvious all - - PowerPoint PPT Presentation

Cryptography & Law an Unexpected Encounter that was Obvious all Along Prof. Aggelos Kiayias www.kiayias.com aggelos.kiayias@ed.ac.uk gratefully acknowledging the support of the European Research Council - Starting Grant CODAMODA Law


slide-1
SLIDE 1

Cryptography & Law

  • Prof. Aggelos Kiayias

www.kiayias.com aggelos.kiayias@ed.ac.uk

an Unexpected Encounter that was Obvious all Along

gratefully acknowledging the support of the European Research Council - Starting Grant CODAMODA

slide-2
SLIDE 2

Law

  • Regulates interactions between persons ensuring

fairness, and basic rights.

  • In this way, law protects persons from other

persons with conflicting interests.

  • Protection is achieved by relying on rule of law and

social institutions.

slide-3
SLIDE 3

Cryptography

  • is the science of communicating secret messages

in the presence of an adversary.

X

slide-4
SLIDE 4

Modern Cryptography

  • is the science of redistributing trust in any system

that emerges from the interaction of multiple persons.

  • In this way, cryptography protects persons from
  • ther persons with conflicting interests.
  • Protection is achieved by relying on hard

mathematical problems.

slide-5
SLIDE 5

Case study : Money

  • What is money?
slide-6
SLIDE 6

Properties of Money

  • a medium of exchange
  • a unit of account
  • a store of value

can be used as medium for the exchange

  • f goods - no barter

can be used for pricing of all goods and services, for accounting purposes and debt recording.

storing and retrieving it at a point in the future maintains its value.

slide-7
SLIDE 7

Creating Money

Money 1.0 : using a trusted object

slide-8
SLIDE 8

Analysis of Money 1.0

  • a medium of exchange
  • a unit of account
  • a store of value

mediocre 
 [ok for face to face transactions ] mediocre fungible, but not divisible well. it might be forgeable.

  • bad. some objects may

deteriorate, others may have unknown hidden quantities.

slide-9
SLIDE 9

Creating Money

Money 2.0 : using a trusted entity Trusted entity issues “IOU”s

slide-10
SLIDE 10

Analysis of Money 2.0

  • a medium of exchange
  • a unit of account
  • a store of value

good [for transactions within the domain of the trusted entity] great! fungible & divisible. mediocre [tied to the availability & reputation

  • f the issuing entity]
slide-11
SLIDE 11

Creating Money

Money 3.0 : Bitcoin Enter Blockchain & distributed Ledgers

slide-12
SLIDE 12

The never-ending book parable

slide-13
SLIDE 13

A “book” of transactions

A l i c e s e n d s x t

  • B
  • b
  • Each new page requires some effort to produce.
  • Anyone can be a scribe and produce a page.
  • New pages are produced indefinitely as long as 


scribes are interested in doing so.

slide-14
SLIDE 14

Importance of Consensus

  • If multiple conflicting books exist, which is the “right
  • ne”?
slide-15
SLIDE 15

Choosing the correct book

The current book to work on & refer to is the book with the most pages. if multiple exist, just pick one at random.

slide-16
SLIDE 16

Assembling the current book

1 2 3 4 5 6 7 8 6’ 4’ 7’

Current version of the book: Orphan pages

slide-17
SLIDE 17

Rules of extending the book

The first scribe that discovers a page announces it to everyone else

slide-18
SLIDE 18

Effort is needed to produce a page

equivalent to : each page needs a special combination from a set of dice to be rolled.

The probabilistic nature of the process is paramount to its security

slide-19
SLIDE 19

The benefits of randomness

Unlikely to continuously be lucky together eventually

  • ne book

will be longer and be adopted by both of them

Imagine two scribes working together

slide-20
SLIDE 20

Being a scribe

  • Anyone can be a scribe for the book.
  • As long as you have a set of dice.
  • The more dice one has, the higher the likelihood to

produce the winning combination to make a page.

slide-21
SLIDE 21

Multiple scribes and probability of page extension

10% 20% 40% 30%

slide-22
SLIDE 22

Using the book - Money 3.0

Buyer Seller

verify purchase details address for payment verify payment is “confirmed”

put item for delivery

p a y m e n t

B pays S x

slide-23
SLIDE 23

Can one rewrite the book?

the more pages pile up on top of a page, the less likely it is, to have the page removed from the book

slide-24
SLIDE 24

Rewriting the book

10% 20% 40% 30%

tx tx'

slide-25
SLIDE 25

Rewriting the book, 2

  • The probability of rewriting the book can be made

arbitrarily small as long as one waits for enough pages.

P < 0.001 q=0.10 z=5 q=0.15 z=8 q=0.20 z=11 q=0.25 z=15 q=0.30 z=24 q=0.35 z=41 q=0.40 z=89 q=0.45 z=340

Pages

slide-26
SLIDE 26

Parable & Reality

“Miners” / Computer systems that organize transactions in blocks the “blockchain” Solving a cryptographic puzzle that is moderately hard to solve

book scribe producing a page

Using a computer to test for a solution from a large space of candidates solutions

rolling a set of dice

slide-27
SLIDE 27

Analysis of Money 3.0

  • a medium of exchange
  • a unit of account
  • a store of value

improving [assuming internet connectivity / adoption] great! fungible & divisible. good [no trusted parties - no natural deterioration]

slide-28
SLIDE 28

Bitcoin price

2009 2017 Careful : just because something works it does not mean it will be used!

slide-29
SLIDE 29

From Money to Smart Contracts

  • Since we have created the book, why stop at

recording monetary transactions?

  • We can encode in the book’s pages arbitrary

relations between persons.

  • Furthermore, scribes, can perform tasks such as

verifying that stakeholders comply to contractual

  • bligations … and take action if they do not.
slide-30
SLIDE 30

Smart Contract

slide-31
SLIDE 31

Smart Contract Operation

  • A smart contract is a piece of code written in a

formal language that records all terms for a certain engagement between a set of persons, “stakeholders.”

  • Stakeholders are identified by their accounts.
  • The smart contract has a public state.
  • The smart contract self executes each time a

certain trigger condition is fulfilled.

slide-32
SLIDE 32

Application : The Sugarman Problem in Intellectual Property

Sixto Rodriguez 70’s music albums
 never succeeded in native US With little to moderate success
 as an artist, he worked in construction Unbeknownst to him, his music
 was a big success in South Africa Watch : searching for sugarman (2015) documentary.

slide-33
SLIDE 33

Example of Smart Contract for IP Management

Artist posts work of art

creates smart contract to manage licensing for the work

interacts with the smart contract to fulfill licensing conditions (e.g. pay) receives license downloads the work uses the work audits proper use of work verifies licence

receives payment

slide-34
SLIDE 34

SC advantages for IP management

  • Beyond work & contract publication, artist can be
  • ffline.
  • Smart contract automatically furnishes license and

records payment.

  • Royalties accrue in the blockchain and are

cryptographically secured until claimed by the artist.

  • Auditing can be made automatically and web-sites in

license violation reported & penalized.

slide-35
SLIDE 35

Take away points for IP

  • Sharing is not prohibited.
  • Nevertheless, royalty collection, lawful use &

compliance is automatically facilitated via the smart contract.

  • There is no “middle man” between artist and user.
slide-36
SLIDE 36

2nd Example: Rental Agreement of Property

creates smart contract to manage rental of property

Owner

deposits fee

+ insurance


deposit receives entry key

examines request

accepts request and encodes entry key

receives payment

  • k’s proper exit

receives insurance deposit

Renter

slide-37
SLIDE 37

SC Applications

  • There is a multitude of other SC applications:
  • land registries.
  • financial instruments.
  • general rental / leasing agreements.
slide-38
SLIDE 38

SC Challenges

  • Privacy
  • Efficiency of representation
  • Scalability
  • Verifiability & Correctness
  • Expressibility
slide-39
SLIDE 39

Looking into the Future

  • Cryptolegal frameworks

Merging cryptography and law to regulate interactions of persons at a global scale. Transcend geographic & jurisdictional boundaries to create a dynamic global social institution that belongs to all and can be abused by none.

slide-40
SLIDE 40

Cryptography & Law

  • Prof. Aggelos Kiayias

www.kiayias.com aggelos.kiayias@ed.ac.uk

an Unexpected Encounter that was Obvious all Along

gratefully acknowledging the support of the European Research Council - Starting Grant CODAMODA