Feige–Fiat–Shamir identification scheme

From testwiki
Jump to navigation Jump to search

Template:No footnotes In cryptography, the Feige–Fiat–Shamir identification scheme is a type of parallel zero-knowledge proof developed by Uriel Feige, Amos Fiat, and Adi Shamir in 1988. Like all zero-knowledge proofs, it allows one party, the Prover, to prove to another party, the Verifier, that they possess secret information without revealing to Verifier what that secret information is. The Feige–Fiat–Shamir identification scheme, however, uses modular arithmetic and a parallel verification process that limits the number of communications between Prover and Verifier.

Setup

Following a common convention, call the prover Peggy and the verifier Victor.

Choose two large prime integers p and q and compute the product n = pq. Create secret numbers s1,⋯,sk coprime to n. Compute vi≡si2(modn). Peggy and Victor both receive n while p and q are kept secret. Peggy is then sent the numbers si. These are her secret login numbers. Victor is sent the numbers vi by Peggy when she wishes to identify herself to Victor. Victor is unable to recover Peggy's si numbers from his vi numbers due to the difficulty in determining a modular square root when the modulus' factorization is unknown.

Procedure

  1. Peggy chooses a random integer r, a random sign s∈{−1,1} and computes s⋅x≡r2(modn). Peggy sends x to Victor.
  2. Victor chooses numbers a1,⋯,ak where ai equals 0 or 1. Victor sends these numbers to Peggy.
  3. Peggy computes y≡rs1a1s2a2⋯skak(modn). Peggy sends this number to Victor.
  4. Victor checks that y2(modn)≡±xv1a1v2a2⋯vkak(modn) and that x≠0.

This procedure is repeated with different r and ai values until Victor is satisfied that Peggy does indeed possess the modular square roots (si) of his vi numbers.

Security

In the procedure, Peggy does not give any useful information to Victor. She merely proves to Victor that she has the secret numbers without revealing what those numbers are.

Suppose Eve has intercepted Victor's vi numbers but does not know what Peggy's si numbers are. If Eve wants to try to convince Victor that she is Peggy, she would have to correctly guess what Victor's ai numbers will be. She then picks a random y, calculates x≡y2v1−a1v2−a2⋯vk−ak(modn) and sends x to Victor. When Victor sends ai, Eve simply returns her y. Victor is satisfied and concludes that Eve has the secret numbers. However, the probability of Eve correctly guessing what Victor's ai will be is 1 in 2k. By repeating the procedure t times, the probability drops to 1 in 2kt . For k=5 and t=4 the probability of successfully posing as Peggy is less than 1 in 1 million.

References