Skip to main content
. 2019 Jan 15;19(2):326. doi: 10.3390/s19020326
Algorithm 4 Signature Verification.
  •   1:

    Input: Encrypted file C, Signers Public key (skspub)

  •   2:

    functionVerification(C, skspub)

  •   3:

        hashc calculate hash of the received encrypted data file C to be verified

  •   4:

        Using Public key skspub of signer, extract hashp of senders file

  •   5:

        if hashc = hashp then

  •   6:

            return C

  •   7:

        else

  •   8:

            return “Signature incorrect”

  •   9:

        end if

  • 10:

    end function