Repeated extraction with an executable matrix hash #
The three extractors in the pseudoentropy construction share this program. A client prepares the label list as one word; the extractor supplies a fresh matrix, hashes at the declared width, and retains every observation and the complete matrix seed. Width normalization specifies total behavior on malformed inputs without affecting the finite extraction laws.
Main definitions #
extractMatrixLabels: retain observations while hashing normalized labels with a fresh matrix.extractMatrixLabelsIdeal: the independent comparison program with the same public seed.
Main results #
isPPTOn_extractMatrixLabels: certify sampling, hashing and copying at runtime dimensions.eval_extractMatrixLabels: the exact finite matrix experiment.eval_extractMatrixLabelsIdeal_append: combine the ideal seed and digest after any processing of the public observations.
References #
- Thomas Holenstein, Pseudorandom Generators from One-Way Functions: A Simple Construction for Any Hardness, TCC 2006, Section 5. [Hol06]. We use the shared Boolean-matrix family in place of finite-field hashing.
Adapted from the cslib crypto branch at
5ff69ca93402e7c947208dc56396d6d86203ccd8.
Every result preserves the observations and has the declared seed and digest lengths.
The comparison experiment preserves the observations and samples independent seed and bits.
Instances For
Runtime dimensions and a certified preparation function give an ordinary PPT program.
Word matrix sampling and hashing exactly realize the finite extraction experiment.
The ideal word program agrees with the finite ideal distribution, retaining the full seed.
In the ideal experiment, the public matrix seed and digest together form one uniform word. The continuation may depend on all retained observations.
An independently uniform ideal hash can be sampled after processing the observations.