SlideShare ist ein Scribd-Unternehmen logo
1 von 11
Oblivious Bloom Intersection
(Rough Run)
-Aditya M. Mehta & Takai Wu
Step 1 : Form Bloom Filter from data at Client
and Garbled Bloom filter from data at Server
 Input at Client , set C = 5,7
 Input at Server , set S = 3,5,7,18,98,67
 Assume that the sequence of hash algorithms are exchanged between the two
parties, H = {MD5,MD4,MD2,SHA1}
At Client Build Bloom Filter BF
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
0 1 0 1 0 0 1 0 0 0 1 0 0 0 0
Initial value of BF
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
After Adding 1st Element 5 to BF
After Adding 2nd Element 7 to BF
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
0 1 0 1 0 0 1 1 0 1 1 0 1 0 0
How to Build GBFs
At Server Build GBFs
The server Builds GBFs for set S, lambda = 4, and the no of shares is 4
Initial GBFs
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
After Adding 1st element 3
Index values = 2, 7, 9, 0
First emptySlot encountered = 2
Random no – R1=2131 ,R2= 7210, R3 = 5117
Store R1, R2 and R3 at 7,9 and 0 respectively
So store at position 2 = Secret xor R1 xor R2 xor R3
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
5117 0000 1927 0000 0000 0000 0000 2131 0000 7210 0000 0000 0000 0000 0000
Similarly we add rest of the elements to
GBFs
Adding 2nd element
Adding 3rd element
Adding 4th element
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
5117 2151 1927 6575 0000 0000 6573 2131 5100 7210 2144 0000 7193 0000 0000
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
5117 2151 1927 6575 0000 0000 6573 2131 0000 7210 2144 0000 0000 0000 0000
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
5117 2151 1927 6575 0000 0000 6573 2131 0000 7210 2144 0000 7193 0000 0000
Contd.
Adding 5th element
Adding 6th element
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
5117 2151 1927 6575 0000 6649 6573 2131 5100 7210 2144 0000 7193 0000 0000
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
5117 2151 1927 6575 2488 6649 6573 2131 5100 7210 2144 7601 7193 0000 0000
Insert Random lambda bit values at all null positions …. Refer line 22 in Algorithm 1
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
5117 2151 1927 6575 2488 6649 6573 2131 5100 7210 2144 7601 7193 3451 8912
Step 2 - OT
Contd.
 Create GBFs2
 After Algorithm completes, what GBFs2 looks like
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
3221 2151 1927 6575 1231 5423 6573 2131 8797 7210 2144 7682 7193 9687 4352
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
5117 2151 1927 6575 2488 6649 6573 2131 5100 7210 2144 7601 7193 3451 8912
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
0 1 0 1 0 0 1 1 0 1 1 0 1 0 0
Step 3 - Query
Contd.
 For 5
 Recovered = 2144 xor 2151 xor 6575 xor 6573= 5 ……………….True matches
 For 7
 Recovered = 2131 xor 7193 xor 2151 xor 7210 = 7 ……………… True matches

Weitere ähnliche Inhalte

Ähnlich wie Oblivious Bloom Intersection (Rough Run

Fast and accurate metrics. Is it actually possible?
Fast and accurate metrics. Is it actually possible?Fast and accurate metrics. Is it actually possible?
Fast and accurate metrics. Is it actually possible?Bogdan Storozhuk
 
Comp Arithmetic Basic.ppt
Comp Arithmetic Basic.pptComp Arithmetic Basic.ppt
Comp Arithmetic Basic.pptskatiarrahaman
 
Local Outlier Factor
Local Outlier FactorLocal Outlier Factor
Local Outlier FactorAMR koura
 
Android binder introduction
Android binder introductionAndroid binder introduction
Android binder introductionDerek Fang
 
Irregular sequence counter
Irregular sequence counterIrregular sequence counter
Irregular sequence counterAbdullah Shiam
 
Neighbor guideline v1.0 rev
Neighbor guideline v1.0 revNeighbor guideline v1.0 rev
Neighbor guideline v1.0 revNurul Ihsands
 
GSP 215 RANK Become Exceptional--gsp215rank.com
GSP 215 RANK Become Exceptional--gsp215rank.comGSP 215 RANK Become Exceptional--gsp215rank.com
GSP 215 RANK Become Exceptional--gsp215rank.comclaric119
 
GSP 215 RANK Achievement Education--gsp215rank.com
GSP 215 RANK Achievement Education--gsp215rank.comGSP 215 RANK Achievement Education--gsp215rank.com
GSP 215 RANK Achievement Education--gsp215rank.comclaric169
 
Release and patching strategy
Release and patching strategyRelease and patching strategy
Release and patching strategyJitendra Singh
 

Ähnlich wie Oblivious Bloom Intersection (Rough Run (10)

Fast and accurate metrics. Is it actually possible?
Fast and accurate metrics. Is it actually possible?Fast and accurate metrics. Is it actually possible?
Fast and accurate metrics. Is it actually possible?
 
Comp Arithmetic Basic.ppt
Comp Arithmetic Basic.pptComp Arithmetic Basic.ppt
Comp Arithmetic Basic.ppt
 
Ac cuda c_6
Ac cuda c_6Ac cuda c_6
Ac cuda c_6
 
Local Outlier Factor
Local Outlier FactorLocal Outlier Factor
Local Outlier Factor
 
Android binder introduction
Android binder introductionAndroid binder introduction
Android binder introduction
 
Irregular sequence counter
Irregular sequence counterIrregular sequence counter
Irregular sequence counter
 
Neighbor guideline v1.0 rev
Neighbor guideline v1.0 revNeighbor guideline v1.0 rev
Neighbor guideline v1.0 rev
 
GSP 215 RANK Become Exceptional--gsp215rank.com
GSP 215 RANK Become Exceptional--gsp215rank.comGSP 215 RANK Become Exceptional--gsp215rank.com
GSP 215 RANK Become Exceptional--gsp215rank.com
 
GSP 215 RANK Achievement Education--gsp215rank.com
GSP 215 RANK Achievement Education--gsp215rank.comGSP 215 RANK Achievement Education--gsp215rank.com
GSP 215 RANK Achievement Education--gsp215rank.com
 
Release and patching strategy
Release and patching strategyRelease and patching strategy
Release and patching strategy
 

Kürzlich hochgeladen

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 

Kürzlich hochgeladen (20)

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 

Oblivious Bloom Intersection (Rough Run

  • 1. Oblivious Bloom Intersection (Rough Run) -Aditya M. Mehta & Takai Wu
  • 2. Step 1 : Form Bloom Filter from data at Client and Garbled Bloom filter from data at Server  Input at Client , set C = 5,7  Input at Server , set S = 3,5,7,18,98,67  Assume that the sequence of hash algorithms are exchanged between the two parties, H = {MD5,MD4,MD2,SHA1}
  • 3. At Client Build Bloom Filter BF 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0 1 0 1 0 0 1 0 0 0 1 0 0 0 0 Initial value of BF 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 After Adding 1st Element 5 to BF After Adding 2nd Element 7 to BF 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0 1 0 1 0 0 1 1 0 1 1 0 1 0 0
  • 5. At Server Build GBFs The server Builds GBFs for set S, lambda = 4, and the no of shares is 4 Initial GBFs 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 After Adding 1st element 3 Index values = 2, 7, 9, 0 First emptySlot encountered = 2 Random no – R1=2131 ,R2= 7210, R3 = 5117 Store R1, R2 and R3 at 7,9 and 0 respectively So store at position 2 = Secret xor R1 xor R2 xor R3 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5117 0000 1927 0000 0000 0000 0000 2131 0000 7210 0000 0000 0000 0000 0000
  • 6. Similarly we add rest of the elements to GBFs Adding 2nd element Adding 3rd element Adding 4th element 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5117 2151 1927 6575 0000 0000 6573 2131 5100 7210 2144 0000 7193 0000 0000 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5117 2151 1927 6575 0000 0000 6573 2131 0000 7210 2144 0000 0000 0000 0000 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5117 2151 1927 6575 0000 0000 6573 2131 0000 7210 2144 0000 7193 0000 0000
  • 7. Contd. Adding 5th element Adding 6th element 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5117 2151 1927 6575 0000 6649 6573 2131 5100 7210 2144 0000 7193 0000 0000 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5117 2151 1927 6575 2488 6649 6573 2131 5100 7210 2144 7601 7193 0000 0000 Insert Random lambda bit values at all null positions …. Refer line 22 in Algorithm 1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5117 2151 1927 6575 2488 6649 6573 2131 5100 7210 2144 7601 7193 3451 8912
  • 8. Step 2 - OT
  • 9. Contd.  Create GBFs2  After Algorithm completes, what GBFs2 looks like 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3221 2151 1927 6575 1231 5423 6573 2131 8797 7210 2144 7682 7193 9687 4352 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5117 2151 1927 6575 2488 6649 6573 2131 5100 7210 2144 7601 7193 3451 8912 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0 1 0 1 0 0 1 1 0 1 1 0 1 0 0
  • 10. Step 3 - Query
  • 11. Contd.  For 5  Recovered = 2144 xor 2151 xor 6575 xor 6573= 5 ……………….True matches  For 7  Recovered = 2131 xor 7193 xor 2151 xor 7210 = 7 ……………… True matches