Domanda

Is this VB calculation

Dim s As BigInteger = (BigInteger.ModPow(k,q - 2,q) * (m + x * r)) Mod q

a proper implementation of this written calculation

enter image description here

I'm basing my calculation of the fact that

enter image description here

can be computed by

enter image description here

as per this Wikipedia article on Digital Signature Algorithm

È stato utile?

Soluzione

I can confirm that this equation is correct.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top