Papers
Topics
Authors
Recent
Search
2000 character limit reached

Toeplitz Strong Extractor

Updated 5 July 2026
  • Toeplitz Strong Extractor is a strong seeded randomness extractor that uses Toeplitz-matrix based universal hashing to convert weak entropy sources into nearly uniform random outputs.
  • It supports both block and streaming methods, enabling efficient online extraction with reduced latency and simplified hardware implementations.
  • The design leverages FFT-based convolution and structured matrix variants to optimize performance while ensuring rigorous security via the leftover-hash lemma.

Toeplitz Strong Extractor (TSE) denotes the use of Toeplitz-matrix universal hashing as a strong seeded randomness extractor, typically in quantum random number generation and related privacy-amplification settings. In this formulation, the extractor maps an nn-bit weak source and an independent seed to an mm-bit output that is close to uniform even when the seed is public, provided the source has sufficient min-entropy and the output length satisfies the leftover-hash bound (Chouhan et al., 3 May 2025). Recent work places Toeplitz-based strong extractors inside a broader stream-extractor framework grounded in universal2_2 and almost dual universal2_2 hashing, and proves that a stream implementation preserves the same quantum-proof security guarantees as the original block-wise protocol under quantum side information (Luan et al., 10 May 2026).

1. Formal definition and extractor model

A strong randomness extractor is defined as

Ext:{0,1}n×{0,1}d{0,1}m,(Ext(X,S),S)ε(Um,S),\text{Ext}: \{0,1\}^n \times \{0,1\}^d \to \{0,1\}^m,\quad (\text{Ext}(X,S), S) \approx_\varepsilon (U_m, S),

where XX is a weak source over {0,1}n\{0,1\}^n, SS is a uniform seed of length dd independent of XX, mm0 is a uniform mm1-bit string, and mm2 denotes statistical distance at most mm3 (Chouhan et al., 3 May 2025). In the quantum setting, a seeded extractor mm4 is strong if, for any classical-quantum state mm5 with mm6 and a perfect seed mm7, the joint output satisfies

mm8

with a smoothing correction mm9 when 2_20 (Luan et al., 10 May 2026).

In QRNG practice, TSE denotes the universal2_21 Toeplitz extractor that is strong in the seed, typically with public 2_22 and output length 2_23 chosen via the quantum Leftover Hash Lemma (QLHL) (Luan et al., 10 May 2026). The security claim is information-theoretic rather than computational: even if the seed is known, the output remains 2_24-close to uniform so long as the seed is uniform and independent of the source (Chouhan et al., 3 May 2025).

The canonical rate bound is the leftover-hash condition

2_25

or, in the quantum formulation used throughout the stream-extraction framework,

2_26

with the final trace-distance bound becoming 2_27 under smoothing (Luan et al., 10 May 2026, Chouhan et al., 3 May 2025). Theorem 1 of the stream-extraction paper states that any universal2_28 family indexed by a uniform seed forms an 2_29 quantum-proof strong extractor with error 2_20 (Luan et al., 10 May 2026).

2. Toeplitz hashing as a universal2_21 strong extractor

An 2_22 Toeplitz matrix is determined by its first column and first row, with the first element shared, so the seed length is

2_23

(Chouhan et al., 3 May 2025). In the notation of the stream-extraction work, an 2_24 Toeplitz matrix 2_25 is determined by a seed 2_26, and the extractor computes over 2_27

2_28

(Luan et al., 10 May 2026).

Toeplitz matrices instantiate a universal2_29 family. For any distinct Ext:{0,1}n×{0,1}d{0,1}m,(Ext(X,S),S)ε(Um,S),\text{Ext}: \{0,1\}^n \times \{0,1\}^d \to \{0,1\}^m,\quad (\text{Ext}(X,S), S) \approx_\varepsilon (U_m, S),0,

Ext:{0,1}n×{0,1}d{0,1}m,(Ext(X,S),S)ε(Um,S),\text{Ext}: \{0,1\}^n \times \{0,1\}^d \to \{0,1\}^m,\quad (\text{Ext}(X,S), S) \approx_\varepsilon (U_m, S),1

(Chouhan et al., 3 May 2025), and equivalently for the full Toeplitz family Ext:{0,1}n×{0,1}d{0,1}m,(Ext(X,S),S)ε(Um,S),\text{Ext}: \{0,1\}^n \times \{0,1\}^d \to \{0,1\}^m,\quad (\text{Ext}(X,S), S) \approx_\varepsilon (U_m, S),2,

Ext:{0,1}n×{0,1}d{0,1}m,(Ext(X,S),S)ε(Um,S),\text{Ext}: \{0,1\}^n \times \{0,1\}^d \to \{0,1\}^m,\quad (\text{Ext}(X,S), S) \approx_\varepsilon (U_m, S),3

for any distinct Ext:{0,1}n×{0,1}d{0,1}m,(Ext(X,S),S)ε(Um,S),\text{Ext}: \{0,1\}^n \times \{0,1\}^d \to \{0,1\}^m,\quad (\text{Ext}(X,S), S) \approx_\varepsilon (U_m, S),4 (Luan et al., 10 May 2026). This universalExt:{0,1}n×{0,1}d{0,1}m,(Ext(X,S),S)ε(Um,S),\text{Ext}: \{0,1\}^n \times \{0,1\}^d \to \{0,1\}^m,\quad (\text{Ext}(X,S), S) \approx_\varepsilon (U_m, S),5 property is the algebraic basis for applying the leftover-hash lemma and obtaining strong-extractor security.

The extractor itself is the linear map

Ext:{0,1}n×{0,1}d{0,1}m,(Ext(X,S),S)ε(Um,S),\text{Ext}: \{0,1\}^n \times \{0,1\}^d \to \{0,1\}^m,\quad (\text{Ext}(X,S), S) \approx_\varepsilon (U_m, S),6

with each output bit expressible as a sliding-window XOR convolution over Ext:{0,1}n×{0,1}d{0,1}m,(Ext(X,S),S)ε(Um,S),\text{Ext}: \{0,1\}^n \times \{0,1\}^d \to \{0,1\}^m,\quad (\text{Ext}(X,S), S) \approx_\varepsilon (U_m, S),7:

Ext:{0,1}n×{0,1}d{0,1}m,(Ext(X,S),S)ε(Um,S),\text{Ext}: \{0,1\}^n \times \{0,1\}^d \to \{0,1\}^m,\quad (\text{Ext}(X,S), S) \approx_\varepsilon (U_m, S),8

(Chouhan et al., 3 May 2025). This representation is central in both software and hardware implementations because it avoids materializing the full matrix and exposes regular structure for convolution, XOR reduction, and parallelization.

For large dimensions, Toeplitz multiplication reduces to an FFT-based linear convolution of length Ext:{0,1}n×{0,1}d{0,1}m,(Ext(X,S),S)ε(Um,S),\text{Ext}: \{0,1\}^n \times \{0,1\}^d \to \{0,1\}^m,\quad (\text{Ext}(X,S), S) \approx_\varepsilon (U_m, S),9 with complexity XX0 (Luan et al., 10 May 2026). The stream-extraction paper gives the explicit convolution identity

XX1

with XX2 (Luan et al., 10 May 2026). This FFT interpretation underlies the comparison between block and stream modes.

3. Quantum-proof security and parameter selection

Under universalXX3 hashing, the QLHL gives the security-rate trade-off used to parameterize TSE under quantum side information (Luan et al., 10 May 2026). If XX4, then choosing

XX5

achieves trace distance at most XX6 (Luan et al., 10 May 2026). The same functional dependence appears in the classical strong-extractor presentation of Toeplitz hashing, where XX7 is the necessary extraction condition (Chouhan et al., 3 May 2025).

For practitioners, the stream-extraction framework states that one should estimate XX8 with appropriate finite-size or non-i.i.d. analyses, use conservative entropy-rate assumptions to ensure composable security, choose XX9 with a safety margin to accommodate smoothing and confidence intervals, and report {0,1}n\{0,1\}^n0 (Luan et al., 10 May 2026). It explicitly notes that overestimating {0,1}n\{0,1\}^n1 relative to {0,1}n\{0,1\}^n2 increases {0,1}n\{0,1\}^n3, whereas underestimating the entropy rate is safe but reduces the extraction rate (Luan et al., 10 May 2026).

The paper’s benchmarks use {0,1}n\{0,1\}^n4 and {0,1}n\{0,1\}^n5, which is described as negligible compared to {0,1}n\{0,1\}^n6–{0,1}n\{0,1\}^n7 (Luan et al., 10 May 2026). By contrast, the FPGA implementation adopts a much smaller block size and a weaker benchmark security parameter: {0,1}n\{0,1\}^n8, {0,1}n\{0,1\}^n9 bits per block, and SS0, yielding SS1 and extraction ratio SS2 (Chouhan et al., 3 May 2025). Additional extraction ratios SS3 are also evaluated there, with corresponding seed lengths SS4 (Chouhan et al., 3 May 2025).

A common misconception is that passing statistical tests suffices to establish extractor security. The sources distinguish these notions sharply. Information-theoretic security is derived from universal hashing and the leftover-hash bound, while NIST STS 2.1.2 is used only as a finite-sample sanity check (Chouhan et al., 3 May 2025, Luan et al., 10 May 2026).

4. From block Toeplitz extraction to stream Toeplitz extraction

Conventional Toeplitz extraction evaluates SS5 on a complete accumulated block SS6, which incurs FFT latency and requires buffering the entire block before extraction (Luan et al., 10 May 2026). The stream formulation generalizes a stream-cipher-like implementation by shifting the expensive linear computation into an offline pre-processing stage that generates a pseudo-random mask, after which the online path consists only of XOR and slicing (Luan et al., 10 May 2026). The paper emphasizes that this is still privacy amplification under universalSS7 hashing rather than computational stream-cipher security (Luan et al., 10 May 2026).

For the standard Toeplitz stream extractor, the procedure is as follows (Luan et al., 10 May 2026):

  1. Choose SS8 uniformly and SS9 uniformly and independently of dd0.
  2. Construct a Toeplitz matrix dd1 of size dd2 from dd3.
  3. Compute the dd4-bit mask dd5.
  4. As raw bits arrive, compute dd6 on the fly and output the first dd7 bits:

dd8

This defines

dd9

with seed XX0 and stream seed length

XX1

(Luan et al., 10 May 2026). The paper states that the stream Toeplitz construction is algebraically equivalent to TSE: it realizes the same linear map but computes the “keystream” XX2 offline and produces outputs XX3 online (Luan et al., 10 May 2026).

The main theorem is that streaming strictly preserves the quantum-proof security guarantees of the original block-wise protocol (Luan et al., 10 May 2026). The proof relies on Tsurumaru’s equivalence between privacy amplification and error correction with quantum side information: linear universalXX4 hashing implements both tasks, so replacing explicit hash evaluation by a precomputed linear mask and an online XOR is an algebraic rearrangement of the same linear map (Luan et al., 10 May 2026). With seeds chosen uniformly and independently of XX5 and XX6, the stream output satisfies

XX7

with the same XX8 as in the block protocol (Luan et al., 10 May 2026).

The strong property is preserved in XX9, and the paper explicitly states that mm00 can be reused across extractions, while the last mm01 bits of mm02 can be harvested to refresh mm03 for another extraction with a small additive increase in mm04 (Luan et al., 10 May 2026). At the same time, it warns that the exact mask mm05 must not be reused across multiple raw blocks without care, because such reuse induces linear relations between outputs (Luan et al., 10 May 2026).

5. Structured variants: circulant and modified Toeplitz families

The stream-extraction framework extends beyond standard Toeplitz matrices to circulant and modified Toeplitz constructions (Luan et al., 10 May 2026). This situates TSE within a broader family of linear extractors that preserve the same leftover-hash rate while trading seed length, algebraic structure, and convolution cost.

Family Block seed length mm06 Stream seed length mm07
Toeplitz mm08 mm09
Circulant mm10 mm11
Modified Toeplitz mm12 mm13

The circulant extractor uses universalmm14 circulant hashing with seed length mm15 (Luan et al., 10 May 2026). For raw mm16, one pads mm17, forms the circulant mm18, and computes

mm19

(Luan et al., 10 May 2026). The stream conversion chooses mm20, pads mm21, builds mm22, chooses mm23, computes the mm24-bit mask

mm25

and streams out mm26 (Luan et al., 10 May 2026). The paper states that this stream extractor is strong and preserves the block-mode mm27 under QLHL when seeds are uniform and independent (Luan et al., 10 May 2026).

Modified Toeplitz, associated in the source with Hayashi–Tsurumaru’s almost dual universalmm28 construction, uses an mm29-bit seed and preserves the same leftover-hash rate mm30 (Luan et al., 10 May 2026). The relevant condition is

mm31

for all mm32 (Luan et al., 10 May 2026). In block form, the structured matrix mm33 yields

mm34

with FFT-accelerated Toeplitz-like convolution mm35 plus mm36 XOR (Luan et al., 10 May 2026). In stream form, one chooses mm37 and mm38, builds mm39, computes

mm40

and outputs mm41 (Luan et al., 10 May 2026). The same soundness mm42 is preserved, and the extractor is strong in mm43 (Luan et al., 10 May 2026).

This broader perspective suggests that “Toeplitz Strong Extractor” is often used narrowly in QRNG engineering, while the underlying algebra belongs to a larger class of linear, quantum-proof, seed-based extractors (Luan et al., 10 May 2026).

6. Algorithmics, hardware realization, and operational constraints

The computational profile of TSE depends strongly on whether it is implemented in block or stream mode. The stream-extraction paper summarizes the asymptotic costs as follows: block Toeplitz requires mm44, stream Toeplitz mask generation requires mm45 with online XOR cost mm46, block circulant requires mm47, stream circulant mask generation requires mm48 with online XOR cost mm49, and block modified Toeplitz requires mm50 while the stream version requires mm51 plus linear concatenation and online XOR mm52 (Luan et al., 10 May 2026).

At high entropy rates, the paper states that stream Toeplitz gains runtime by shortening the effective convolution length from mm53 to mm54, whereas circulant and modified Toeplitz already have convolution length mm55 in both modes and therefore show smaller block/stream differences (Luan et al., 10 May 2026). It further notes that stream-total time equals mask-generation time plus read-and-XOR time, and that the qualitative gain comes from shifting nontrivial computation offline and reducing online latency and buffer requirements (Luan et al., 10 May 2026).

A concrete FPGA realization of block TSE is reported in “FPGA-based Toeplitz Strong Extractor for Quantum Random Number Generators” (Chouhan et al., 3 May 2025). The implementation uses a Xilinx VC709 FPGA at 200 MHz, with block size mm56, parallelism mm57, and batch size mm58 input bits (Chouhan et al., 3 May 2025). The design stores the raw block mm59 and the Toeplitz string mm60 of length mm61, aligns successive length-mm62 substrings of mm63 with mm64, and performs bitwise AND followed by pipelined XOR reduction for each output bit (Chouhan et al., 3 May 2025). Forty identical per-block extractor engines run in parallel, and sliding-window generation avoids materializing the full matrix (Chouhan et al., 3 May 2025).

The measured throughput is 26.57 Gbps at mm65, 13.30 Gbps at mm66, and 9.99 Gbps at mm67 (Chouhan et al., 3 May 2025). The one-time overhead per run is 100,274 cycles, approximately 502 mm68s at 200 MHz, and the cycles per extraction are 6,021 for mm69, 10,021 for mm70, 12,021 for mm71, and 16,021 for mm72 (Chouhan et al., 3 May 2025). The source attributes the throughput decline with increasing mm73 to the growth in mm74 and in the Toeplitz string length, which increases the amount of AND/XOR work per extraction (Chouhan et al., 3 May 2025).

Several implementation caveats are explicit in the two sources. Synchronization matters in stream mode: XOR must align bit-for-bit, and loss, insertion, or jitter in the raw stream corrupts mm75; a counter or frame marker aligned to mm76 is suggested as mitigation (Luan et al., 10 May 2026). In hardware, correctness depends on avoiding timing hazards in XOR trees, ensuring no metastability in shift registers, and properly zeroizing seed and intermediate buffers if sensitive (Chouhan et al., 3 May 2025). For deployment, seed independence is critical: the FPGA paper notes that its LFSR-based seed generation from raw data is an engineering convenience for benchmarking and strictly compromises the strong-extractor assumption, so an independent seed source should be used in practice (Chouhan et al., 3 May 2025).

7. Validation, misconceptions, and design guidance

The two papers distinguish extractor security, empirical validation, and deployment practice with considerable precision. In the FPGA study, raw data from an in-house phase-noise-based QRNG digitized by an 8-bit ADC is processed, the min-entropy is evaluated as 2.6 bits per 8 raw bits, and NIST STS 2.1.2 is applied to raw and extracted outputs (Chouhan et al., 3 May 2025). The datasets are 800 Kbits of raw data split into 100 sequences of length 8000 and 240 Kbits of extracted data split into 30 sequences of length 8000; Random Excursions and Random Excursions Variant are undefined because of small sample sizes, and some post-extraction failures are attributed to data-size limitations (Chouhan et al., 3 May 2025). The reported conclusion is that post-processed data exhibits markedly improved statistical behavior compared to raw data (Chouhan et al., 3 May 2025).

The stream-extraction paper likewise states that extracted outputs pass NIST SP 800-22 tests for finite-sample sanity in addition to information-theoretic security (Luan et al., 10 May 2026). A plausible implication is that empirical test batteries remain useful as implementation checks, but not as replacements for entropy estimation and QLHL-based parameter selection.

Several recurrent misconceptions are directly addressed by the source material. First, public seeds do not invalidate TSE; strong extractors are defined precisely so that security holds jointly with the seed (Chouhan et al., 3 May 2025, Luan et al., 10 May 2026). Second, reusing a public seed mm77 is not the same as reusing the effective mask mm78; the former is compatible with the strong property, while the latter can induce linear relations unless the protocol explicitly accounts for them (Luan et al., 10 May 2026). Third, statistical success alone does not certify privacy-amplification security; the decisive requirement is a valid lower bound on min-entropy and independent seed generation (Chouhan et al., 3 May 2025, Luan et al., 10 May 2026).

The design checklist given for streaming TSE under quantum side information is explicit (Luan et al., 10 May 2026). One fixes a target mm79, obtains a conservative bound mm80, chooses mm81 with possible safety margin, chooses among Toeplitz, circulant, and modified Toeplitz depending on seed-length and complexity trade-offs, generates the mask mm82 offline from independent seeds, XORs with the incoming raw stream online, and validates outputs statistically while reporting mm83 for composable security (Luan et al., 10 May 2026). Within this framework, TSE is best understood as a universalmm84 linear hash whose block and streaming realizations are algebraically equivalent, but operationally different in latency, buffering, and seed-management requirements (Luan et al., 10 May 2026).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Toeplitz Strong Extractor (TSE).