Perfectly correct PKE ⇒ COM
Statement
Let be a perfectly correct CPA-secure PKE with message space , where takes its coins from for a polynomial . The following non-interactive scheme is a commitment scheme with message space — folklore:
- runs , discards , runs the efficient algorithm the PKE syntax supplies, on , or on when depends on it, to get two distinct messages of equal length, and outputs ;
- for , with ;
- returns if , and , and otherwise.
Correctness is perfect, binding is perfect, and hiding reduces tightly to CPA security. The public parameters come from a trusted setup: a receiver that ran itself would know and could decrypt the commitment.
Sketch
Binding: two accepted openings and of one have and , so perfect correctness, which holds for every key pair in the support of and every coin string, gives for the honestly generated , and because . Hiding: the CPA adversary computes from as does and runs the hiding adversary on ; a hiding adversary with is then a CPA adversary on with the same advantage, and one with has advantage , matched by the CPA adversary outputting a uniform bit.
Notes
- PKE without perfect correctness still yields commitments: PKE implies a one-way function IL89, hence a PRG HILL99, hence a two-message statistically binding commitment Naor91.