Zero-knowledge games. Christmas Lectures 2008



Similar documents
NF5-12 Flexibility with Equivalent Fractions and Pages

Ready, Set, Go! Math Games for Serious Minds

Unit 1 Number Sense. In this unit, students will study repeating decimals, percents, fractions, decimals, and proportions.

Math Games For Skills and Concepts

Current California Math Standards Balanced Equations

Fractions. If the top and bottom numbers of a fraction are the same then you have a whole one.

Clock Arithmetic and Modular Systems Clock Arithmetic The introduction to Chapter 4 described a mathematical system

Circuits and Boolean Expressions

Decimal Notations for Fractions Number and Operations Fractions /4.NF

+ = has become. has become. Maths in School. Fraction Calculations in School. by Kate Robinson

Vieta s Formulas and the Identity Theorem

SIMPLE CROSSING - FUNCTIONAL PRACTICE

Pigeonhole Principle Solutions

The theory of the six stages of learning with integers (Published in Mathematics in Schools, Volume 29, Number 2, March 2000) Stage 1

Session 7 Fractions and Decimals

Private talk, public conversation Mike Askew King s College London

Pre-Algebra Lecture 6

What qualities are employers looking for in teen workers? How can you prove your own skills?

Permission is given for the making of copies for use in the home or classroom of the purchaser only.

Self-Acceptance. A Frog Thing by E. Drachman (2005) California: Kidwick Books LLC. ISBN Grade Level: Third grade

Five. Free. Trai. The following. used with. their own activities. happy to

Supplemental Worksheet Problems To Accompany: The Pre-Algebra Tutor: Volume 1 Section 1 Real Numbers

GRADE 5 SUPPLEMENT. Set A2 Number & Operations: Primes, Composites & Common Factors. Includes. Skills & Concepts

Colored Hats and Logic Puzzles

by Teresa Evans Copyright 2005 Teresa Evans. All rights reserved.

One pile, two pile, three piles

The phrases above are divided by their function. What is each section of language used to do?

Using OK in English. Speaking activities for discourse markers part 1 by Lindsay Clandfield

OA3-10 Patterns in Addition Tables

Easy Casino Profits. Congratulations!!

Integers are positive and negative whole numbers, that is they are; {... 3, 2, 1,0,1,2,3...}. The dots mean they continue in that pattern.

Unit 6 Number and Operations in Base Ten: Decimals

Contents. Subtraction (Taking Away) Multiplication... 7 by a single digit. by a two digit number by 10, 100 or 1000

ONLINE SAFETY TEACHER S GUIDE:

The Fruit of the Spirit is Love

Unit 5 Length. Year 4. Five daily lessons. Autumn term Unit Objectives. Link Objectives

Comparing Fractions Objective To provide practice ordering sets of fractions.

Welcome to Basic Math Skills!

Decimals and other fractions

Kindergarten Respect Unit Lesson Seven Respect The Environment

Objective To introduce the concept of square roots and the use of the square-root key on a calculator. Assessment Management

HOW TO SELECT A SCIENCE FAIR TOPIC

Sample Questions with Explanations for LSAT India

Chapter 11 Number Theory

Fun Learning Activities for Mentors and Tutors

Hoover High School Math League. Counting and Probability

Key #1 - Walk into twenty businesses per day.

Activity- The Energy Choices Game

Cambridge Friendship Questionnaire

The Function Game: Can You Guess the Secret?

Title ID Number Sequence and Duration Age Level Essential Question Learning Objectives. Lead In

Using games to support. Win-Win Math Games. by Marilyn Burns

Working Agreements Jane Haskell, Extension Professor

Math Card Games to Print and Play

Copyright 2013 The National Council of Teachers of Mathematics, Inc. All rights reserved. This material may not be copied or

The Fruit of the Spirit is Gentleness

20-30 minutes, can be used within a longer activity

8.3 Probability Applications of Counting Principles

Pizza. Pizza with Everything Identifying & Estimating Fractions up to 1. Serves 2-4 players / Grades 3+ (Includes a variation for Grades 1+)

Handouts for teachers

Presentations Phrases Prepositions Pairwork Student A Choose one of the sections below and read out one of the example sentences with a gap or noise

Brain Game. 3.4 Solving and Graphing Inequalities HOW TO PLAY PRACTICE. Name Date Class Period. MATERIALS game cards

Chapter 2. Making Shapes

Paper 1. Calculator not allowed. Mathematics test. First name. Last name. School. Remember KEY STAGE 3 TIER 5 7

Keep your English up to date 4. Teacher s pack Lesson plan and student worksheets with answers. Facebook

Has difficulty with counting reliably in tens from a multiple of ten

CHAPTER 18 Programming Your App to Make Decisions: Conditional Blocks

Make maths fun!! Give your child lots of praise and encouragement!

Second, advertise the event and make sure students bring a friend, wear dark clothes and bring a mini flashlight.

Coin Flip Questions. Suppose you flip a coin five times and write down the sequence of results, like HHHHH or HTTHT.

Brain-in-a-bag: creating an artificial brain

Worldwide Casino Consulting Inc.

Grade 8 Lesson Peer Influence

Worksheet English is GREAT. Task 1 What is the common link between all these words?

PRODUCTION. 1The Surplus

Materials: Student-paper, pencil, circle manipulatives, white boards, markers Teacher- paper, pencil, circle manipulatives, worksheet

Junior Cookie CEO Badge Activity Plan 1

Kenken For Teachers. Tom Davis June 27, Abstract

How can I improve my interviewing skills? MATERIALS

FAQ Exodus Proxima Centauri 07/2013

Acing Math (One Deck At A Time!): A Collection of Math Games. Table of Contents

and Maths in School. Addition in School. by Kate Robinson

MAKING MATH MORE FUN BRINGS YOU FUN MATH GAME PRINTABLES FOR HOME OR SCHOOL

Go through the instructions with the class, and give each group of pupils a copy of these instructions.

Emotion Card Games. I hope you enjoy these cards. Joel Shaul, LCSW. Joel Shaul provides

101 IELTS Speaking Part Two Topic cards about sports, hobbies and free time A- Z

THE WINNING ROULETTE SYSTEM.

3. How many winning lines are there in 5x5 Tic-Tac-Toe? 4. How many winning lines are there in n x n Tic-Tac-Toe?

Part 1 Expressions, Equations, and Inequalities: Simplifying and Solving

Measuring with a Ruler

Quality English Language Education at Pre-primary Level Project. Exposing Children to English through Interactive English Language Activities

Fractions Packet. Contents

2 Mathematics Curriculum

NTFS permissions represent a core part of Windows s security system. Using

First Affirmative Speaker Template 1

0.0.2 Pareto Efficiency (Sec. 4, Ch. 1 of text)

Match Learner. Learning by Playing

UNDERSTANDING YOUR ONLINE FOOTPRINTS: HOW TO PROTECT YOUR PERSONAL INFORMATION ON THE INTERNET

Use these cards as a matching game

Conditionals: (Coding with Cards)

Transcription:

Security is very important on the internet. You often need to prove to another person that you know something but without letting them know what the information actually is (because they could just copy and use it). For example, you might need to convince an online music shop that you know your password for their website without sending them the password itself. These are called zero-knowledge methods, because you can get an answer without ever finding out anything new about the important information. Here we provide two zero-knowledge you can try with your friends at home or school. The first is one way of finding out if two people agree on a decision without either of them revealing what they actually decided! The second lets you work out the total of all your ages, without everyone finding out how old anyone else is. THE DECISION GAME Let s suppose that you and a friend have to make a yes or no joint decision, but you don t want the other person to know what you thought. For example, you both need to decide whether to go on holiday together, and you don t want to hurt their feelings if you don t want to go but they do. How do you know if you agree or not without knowing what both your answers are? By playing the decision game, that s how! 1

What to do A set of three Yes cards and two No cards are shown below. Print the page with them on and cut out the cards (or draw your own). Now, follow the steps below. 1. Each of the two people needing to make a decision takes one Yes and one No card, with the third Yes left over. 2. Say the question out loud so that you both know exactly what you re answering. 3. The first person puts their decision cards face down on the table, with their decision on top. 4. Now place the spare Yes card face down on top of the pile. 5. The second person puts their decision cards face down on top of the pile, with their decision as the one underneath. 6. Next, the pile of cards is cut (split at a random place and the top cards put on the bottom). Cut the deck as many times as you like until you are both sure that your cards are secret. Now neither person has seen the other s cards or the order they were put on the pile. 7. Turn the pile over and spread out the cards in a line, face up so you can both see them. 8. If all three of the Yes cards are next to each other, then you both decided Yes. Because the pile was cut, the cards wrap around and it is still a yes result even if the Yes cards are on the edges. If the three Yes cards are separated by No cards then one or the other, or both of you, decided No. The beauty of the decision game is that the players never know who said No, so no one has to feel embarrassed or hurt! Result NO NO YES YES YES Yes YES YES NO NO YES Yes YES NO YES NO YES No 2

NO NO YES YES YES 3

SECRET AGES This is a zero-knowledge game for adding up people s ages without them ever finding out what anyone else s age actually is. You just need to find out the total for everyone. We use age, but the game works with any number that individuals might want to keep secret. Instead of ages, you could try this with the number of pairs of shoes you own or how many biscuits you ve eaten today. You can do this with any number of your friends, but this example involves four people. What to do 1. The four people with secret ages stand side by side in a line facing the fifth person, the controller (your teacher or another friend). 2. The controller thinks of a number between 1 and 100 and whispers it in the ear of the first person in the line. 3. The first person adds their age to the number, then to the second person. 4. The second person adds their age and to the third person, who then does the same to the fourth. 5. The fourth person whispers the grand total to the controller. The controller then takes away the original number and announces to everyone what the grand total is. 4

START: Controller thinks of a random number and whispers it to (1) END: Controller subtracts the random number and announces the total In this way, important information has been found out about the whole group without anyone having to reveal their secret! This zero-knowledge method is not very secure. It is possible for people to cheat and work out some of the supposedly secret information. How do you think this could happen? Which people could get together after the game has finished and work out secret information about the other players? 5

SECRET AGES ADVANCED If you ve worked out how to cheat at the zero-knowledge system, can you design a more secure system? The method shown in the diagram below is a little more complicated, but it is secure against cheats. Try it out with your friends! You need three friends who don t know each other s ages, and a calculator. Each player adds their age to 100, then divides the total into three random numbers (for example, age 11, 111 = 22 + 45 + 44). The random numbers are shares, which each player writes down onto three pieces of paper. Each player keeps one share for themselves and gives the other two players one of the other shares. Each player ends up with three shares, which, using the calculator, they re-total then divide by 100. They then keep the two digits after the decimal point. (If there s only one digit after the decimal point put a zero after it, for example 0.9 gives you 90). All players reveal the resulting number to the others. The players add the three numbers together and divide by 100 as before (adding a zero if necessary). The two digits after the decimal point give you the sum of all three people s ages. Diagram based on How to keep secrets safe, Scientific American, August 2008. 6

1 2 3 Secret age = 11 17 14 Total = 111 Total = 117 Total = 114 Choose any 3 numbers that add up to 100 + your age. Write these 'shares' onto 3 pieces of paper. 22 45 44 39 12 66 34 53 27 Keep one of these shares yourself, and give the rest to the two other players. 22 39 34 53 45 12 Find the total of these three shares, and take the two digits following the decimal point after dividing by 100 66 Total = 141 number = 41 27 Total = 111 number = 11 44 Total = 90 number = 90 41 11 90 Add up these numbers and take the two digits following the decimal point after diving by 100 again (this part is not Total = 142 secret everyone can number = 42 check). This is the total of the secret ages of the 3 people! Total age = 42 7