Skip to main content
. 2024 Dec 16;24(24):8034. doi: 10.3390/s24248034
Algorithm 6 PayVerify function.
PayVerify(P):
Return 1 if and only if all of the following conditions hold:
  1. TACertVerify(P.sender) = 1 and

  2. SigVerify([P.amount, P.sender, P.receiver, P.timestamp], P.sig, P.sender.pbk) = 1.