Example: biology

How To Simulate It – A Tutorial on the Simulation Proof ...

HowToSimulateIt ATutorialontheSimulationProofTechnique ThistutorialappearedinthebookTutorialson theFoundationsofCryptography,publishedin honorofOdedGoldreich SemanticSecurity44 SecureComputation ObliviousTransfer499 TheCommonReferenceStringModel , realworld towhathappensinan idealworld , , , (thisisan idealworld thatissecurebydefinition),thisimpliestha tintherealworld,wheretheadversaryreceive stheciphertext, , snotatallclearhowtoformalizethenotiontha t nothingislearned .Ifwetrytosaythatanadversarywhoreceivesa ciphertextcannotoutputanyinformationabou ttheplaintext,thenwhathappensiftheadvers aryalreadyhasinformationabouttheplaintex t?

If the adversary receiving no ciphertext is able to output the same information as the adversary receiving the ciphertext, then this is indeed the case. It is unclear at this point why this is called “simulation”; what we have described is a comparison between two worlds. This will be explained throughout the tutorial (first in Section 3 ...

Tags:

  Simulation, Tutorials

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of How To Simulate It – A Tutorial on the Simulation Proof ...

1 HowToSimulateIt ATutorialontheSimulationProofTechnique ThistutorialappearedinthebookTutorialson theFoundationsofCryptography,publishedin honorofOdedGoldreich SemanticSecurity44 SecureComputation ObliviousTransfer499 TheCommonReferenceStringModel , realworld towhathappensinan idealworld , , , (thisisan idealworld thatissecurebydefinition),thisimpliestha tintherealworld,wheretheadversaryreceive stheciphertext, , snotatallclearhowtoformalizethenotiontha t nothingislearned .Ifwetrytosaythatanadversarywhoreceivesa ciphertextcannotoutputanyinformationabou ttheplaintext,thenwhathappensiftheadvers aryalreadyhasinformationabouttheplaintex t?

2 Forexample, , (oroutputbytheadversary) , Simulation ; (firstinSection3).Fornow,itsufficestosay thatsecurityproofsfordefinitionsformulat edinthiswayworkbyconstructingasimulatort hatresidesinthealternativeworldthatissec urebydefinition, ,aswewillshow, ; ; , , ,wewilldemonstratethesimulationparadigmi nanumberofdifferentsettings, , ,inSection4,weshowhowtosimulatesecurecom putationprotocolsforthecaseofsemi-honest adversaries(whofollowtheprotocolspecific ation,buttrytolearnmorethanallowedbyinsp ectingtheprotocol2transcript). , ,thecorruptedparty(whoistheverifier) ,thesimulationconsistsofthefirsttaskonly :generatingaviewthatisindistinguishablef romthepotentiallymaliciousverifier ,weproceedtosecurecomputationwithsecurit yinthepresenceof(static) , , ,anadditionalelementofthesimulator sroleisadded.

3 (Inthissection,wealsodemonstratethehybri dmodelandthetechniqueofhowtowritesimulat ion-basedproofsinthismodel.)Then, ,inSection9weshowhowtosimulateinthecommo nreferencestringmodel,andinSection10webr ieflydiscusssomeadvancedtopicsrelatedtos imulation:concurrentcomposition,therando moraclemodel, {0,1} ,wewritex {0,1} ( )isnegligibleifforeverypositivepolynomia lp( )andallsufficientlylargen s,itholdsthat (n)<1/p(n).Finally,wedenotetheemptystrin gby . {X(a,n)}a {0,1} ;n Nisaninfinitesequenceofrandomvariablesin dexedbya {0,1} andn ,thevalueawillrepresenttheparties {X(a,n)}a {0,1} ;n NandY={Y(a,n)}a {0,1} ;n Naresaidtobecomputationallyindistinguish able,denotedbyXc Y,ifforeverynon-uniformpolynomial-timeal gorithmDthereexistsanegligiblefunction ( )suchthatforeverya {0,1} andeveryn N,|Pr[D(X(a,n))=1] Pr[D(Y(a,n))=1]| (n).

4 Allpartiesareassumedtorunintimethatispol ynomialinthesecurityparameter.(Formally, ,aswouldoccurinthecasewhereitsinputislon gerthanitsoverallrunningtime.) , , (notusingthenotion negligiblefunction ).Thatis,Xc Yifforeverynon-uniformpolynomial-timealg orithmDand3everypolynomialp( )thereexistsanN Nsuchthatforeveryn>Nandeverya {0,1} ,|Pr[D(X(a,n))=1] Pr[D(Y(a,n))=1]|<1p(n).Now,thecontradictionofthisisthatthereexistsaDandapolynomialp( )suchthatforeveryN Nthereexistsann>Nandana {0,1} forwhich|Pr[D(X(a,n))=1] Pr[D(Y(a,n))=1]| 1p(n).Statedinshort,thereexistsaDandapol ynomialp( )suchthatforaninfinitenumberofn sthereexistsana {0,1} forwhich|Pr[D(X(a,n))=1] Pr[D(Y(a,n))=1]| 1p(n).

5 Inparticular, ,inordertocarryoutareductionthatbreaksso mecryptographicprimitiveorassumptionifth eensemblesarenotcomputationallyindisting uishable, , {0,1} itholdsthat{X(a,n)}n Nc {Y(a,n)}n ,observethatthisformulationhereguarantee sthatforeveryaandeverynon-uniformprobabi listic-polynomialtimeD,thereexistsanegli giblefunction suchthatforeveryn,DdistinguishesX(a,n)fr omY(a,n)withprobabilityatmost (n).Thismeansthattherecanbeadifferentneg ligiblefunctionforeverya, ,considerthenegligiblefunction athatequals1foreveryn<2|a|andequals2 nforeveryn 2|a|,andassumethatforeverya {0,1} thefunction , ,zeroknowledgewouldbecometrivialforallla nguagesinNPsincethesimulatorcouldoutput ifn<2|x|wherexisthestatementbeingproven, andcanjustfindthewitnessinthecasethatn 2|x|.

6 Thisproblemdoesnotarisewiththeactualdefi nitionbecauseitrequiresthatthereexistsas inglenegligiblefunctionforallvaluesofa {0,1} .3 TheBasicParadigm SemanticSecurityThebirthofcomplexity-bas edcryptography(or provablesecurity )beganwiththefirstrigorousdefinitionofth esecurityofencryption[24]. , , ,andallowsforarbitrarydistributionsoverp laintexts(aslongastheplaintextssampledar eofpolynomiallength).Thedefinitionalsota kesintoaccountanarbitraryauxiliaryinform ationfunctionhof4theplaintextthatmaybele akedtotheadversarythroughothermeans( ,becausethesamemessagexisusedforsomeothe rpurposeaswell).Theaimoftheadversaryisto learnsomefunctionfoftheplaintext, ,itshouldbepossibletolearnthesameinforma tionfromtheauxiliaryinformationalone(and fromthelengthoftheplaintext), ( [18])Aprivate-keyencryptionscheme(G,E,D) issemanticallysecure(intheprivate-keymod el)ifforeverynon-uniformprobabilistic-po lynomialtimealgorithmAthereexistsanon-un iformprobabilistic-polynomialtimealgorit hmA suchthatforeveryprobabil-ityensemble{Xn} n Nwith|Xn| poly(n),everypairofpolynomially-boundedf unctionsf,h:{0,1} {0,1} ,everypositivepolynomialp( )andallsufficientlylargen:Prk G(1n)!

7 A(1n,Ek(Xn),1|Xn|,h(1n,Xn))=f(1n,Xn)"<Pr !A (1n,1|Xn|,h(1n,Xn))=f(1n,Xn)"+1p(n)(Thep robabilityintheabovetermsistakenoverXnas wellasovertheinternalcointossesofthealgo rithmsG,EandAorA .)ObservethattheadversaryAisgiventheciph ertextEk(Xn)aswellasauxiliaryinformation h(1n,Xn),andattemptstoguessthevalueoff(1 n,Xn).AlgorithmA alsoattemptstoguessthevalueoff(1n,Xn),bu tisgivenonlyh(1n,Xn) cancorrectlyguessf(1n,Xn) ,then,theciphertextEk(Xn)doesnotrevealan yinformationaboutf(1n,Xn),foranyf,sincew hatevercanbelearnedbyA(giventheciphertex t)canbelearnedbyA (withoutbeinggiventheciphertext). simula-tion oranidealworld, resides,itisgivenonlytheauxiliaryinforma tionandplaintextlength, ,A residesinanidealworldwhere,trivially, canlearnasmuchasAcanlearnisexactlythecom parisonbetweentherealworldandtheidealwor ld, thatoutputsf(1n,Xn)withalmostthesameprob abilityasA?

8 HowcanA evenknowwhatAdoes?TheansweristhatA couldperfectlysimulatesuchanexecution byprovidingAwithitsexpectedinputs thenA wouldoutputf(1n,Xn) ,clearlyA cannotdothissinceitdoesnotreceiveEk(Xn) giveAanencryptionofgarbageinstead,asfoll ows:SimulatorA :Uponinput1n,1|Xn|,h=h(1n,Xn),algorithmA runsthekeygenerationalgorithmG(1n)inorde rtoreceivek(notethatA indeedneedstobegiven1ninordertodothis). computesc=Ek#0|Xn|$asanencryptionof garbage (notethatA indeedneedstobegiven1|Xn|inordertodothis ). runsA(1n,c,1|Xn|,h) runsisclearlyflawed; ,ifencryptionsareindistinguishable,thenA shouldoutputf(1n,Xn)withapproximatelythe sameprobabilitywhengivenEk(Xn)aswhengive nEk#0|Xn|$.

9 Otherwise,itwouldbepossibletodistinguish suchencryptionsbyseeingwhetherAsucceedsi noutputtingf(1n,Xn) , ,iftheencryptionworksbyXORingtheplaintex twiththeoutputofapseudorandomgenerator,t henthereductionworksbyshowingthatanynon- negligibledifferencebetweentheprobabilit ythatAcorrectlyoutputsf(1n,Xn) garbage ,theproofproceedsbyshowingthatthesimulat ionis good , (statically,andsoattheonsetofthecomputat ion) , ;iftheadversarydoesanythingnotaccordingt ospecification evenjustchoosingitsrandomtapeinanon-rand omway thenitmaybeabletocompletelybreaktheproto col(andthereareactualexamplesofnaturalpr otocolswiththisproperty).

10 Nevertheless,aprotocolthatissecureinthep resenceofsemi-honestadversariesdoesguara nteethatthereisnoinadvertentleakageofinf ormation;whenthepartiesinvolvedessential lytrusteachotherbutwanttomakesurethatnor ecordoftheirinputisfoundelsewhere, , ,sinceweknowexactlywhattheadversarywilld o(itjustfollowstheprotocolspecification) . (oneforeachparty).Werefertosuchaprocessa safunctionalityanddenoteitf:{0,1} {0,1} {0,1} {0,1} ,wheref=(f1,f2).That6is,foreverypairofin putsx,y {0,1}n,theoutput-pairisarandomvariable(f 1(x,y),f2(x,y)) (withinputx)wishestoobtainf1(x,y)andthes econdparty(withinputy)wishestoobtainf2(x ,y).


Related search queries