KAP with Schnorr ID

€2.00
Tax included

KAP with Schnorr ID

Quantity

This protocol is executed between you named as student Alice and Mentor Bob.

It is strongly recommended that you use Ocatve software implemented in your local computer rather than using Octave in the server.

Computed numerical parameter values sent by Alice must be included in the input field denoted by brackets []. The following functions are used in the protocol:

  • >>mod_exp(g,x,p); //function computes modular exponent value gx mod p
  • >>randi(i); // i=20 - is recommended an upper range of generated random integer number
  • >> dec2bin(decvar); //Convert decimal number to binary
  • >>bin2dec(binvar); //Convert binary number to decimal
  • >>binaryxor(binvar1,binvar2) //Bitwise xor operation

1.Mentor sends your the following public parameters (PP): p = 3764807 and generator g = 5. Generate at random your private key PrK = x and compute public key PuK = a = gx mod p. Send your public key [a] to the Mentor for your signature verification.

2. Student must find random u and calculate witness. Send wittness [w] to the Mentor.

3. The Mentor finds challenge c =.... Student must find response [r] and send it.

4. After obtaining public keys Mentor is able to generate his common key. Compute your own common key and encrypt message m = ... . Send [C] to the Mentor.

1000000 Items