Table 1 The static number of changed bit Bi.

From: Quantum Hash function and its application to privacy amplification in quantum key distribution, pseudo-random number generation and image encryption

 

N = 1024

N = 2048

N = 10,000

Mean

63.5654

63.5864

64.2894

63.8137

P(%)

49.6605

49.6769

50.2261

49.8545

ΔB

5.4616

5.5841

5.6686

5.6314

ΔP

4.3881

4.3626

4.4286

4.3931

B min

45

44

43

44

B max

81

83

89

84.3333

  1. The mean changed bit number B and the mean changed probability P are very close to the ideal value 64 bit and 50% respectively. ΔB and ΔP are very little, so that it demonstrates the stability of diffusion and confusion. The excellent statistical effect ensures that it is impossible to forge plaintext-cipher text pairs given several known plaintext-cipher text pairs.