Skip to main content
. 2020 Oct 29;20(21):6158. doi: 10.3390/s20216158
Algorithm 12:Recipient verification of a signed message.
  Input: Msent,(r,s),PUs
  Output: Verifiedciphertexts
1  Recipient:check(r,s)areintegers∈1,2,3,...,p−1);
2  Recipient:calculatee=HASH(Msent);
3  Recipient:calculatez=leftmostpbitsofe;
4  Recipient:calculateu1=es−1modp;
5  Recipient:calculateu2=rs−1modp;
6  Recipient:calculate(x1,y1)=u1∗G+u2∗PUs;
7  Verified←r≡x1modp