Deterministic three-source extraction #
The input contains exactly the original sampler seeds and three independent matrix seeds. Ordinary word operations split this tape and evaluate the same hashes as the probabilistic program. The implementation uses the shared row parser and polynomial-time combinators.
Main definitions #
hashSamples: evaluate the three hashes with supplied keys, retaining each key.generate: parse one input seed and run the deterministic construction.
Main results #
isPolyTime_generate: runtime dimensions and a captured evaluator compose efficiently.eval_generate,eval_generate_of_realization: equality with the sampled extractor.length_generate: every correctly sized seed produces the declared number of output bits.
References #
- Thomas Holenstein, Pseudorandom Generators from One-Way Functions: A Simple Construction for Any Hardness, TCC 2006, Section 5, Lemma 5. [Hol06]. The matrix seeds are retained in full, so their lengths cancel from the expansion budget.
Adapted from the cslib crypto branch at
5ff69ca93402e7c947208dc56396d6d86203ccd8, using typed certificates and the shared list-row parser.
Evaluate the three hashes using supplied matrix seeds, preserving all three seeds.
Instances For
Deterministic hashing composes the same efficient word operations as the sampled program.
Evaluate from one seed: sampler coins, remaining-seed matrix, label matrix, observation matrix.
Parsing is total even on short input tapes; exact sampling laws use seedLength input bits.
Instances For
Runtime dimensions, parsing, and every evaluator call are charged through ordinary polynomial-time combinators. The callback may capture the original input.
Uniform input bits supply independent sampler coins and matrix seeds, with no padding coins added by an execution clock.
Supplying independent uniform keys to the deterministic hash core realizes the three probabilistic hashing calls exactly. Only the observation padding requires a size bound.
A uniform seed of exactly seedLength bits realizes the complete sampled extractor.
The only size premise is the observation bound on correctly sized sampler seeds.
Every correctly sized seed produces the advertised fixed output length.
The sampler's saved-seed evaluator implements the exact ensemble in the security theorem. The observation bound only concerns outcomes in the support of the finite pair.