@xo-cash/crypto
    Preparing search index...

    Function verifyInvitationCommitSignature

    • Verifies a Schnorr signature for an invitation commit. Re-derives the commit public key from the entity identifier and the commit identifier and verifies the signature against the provided message.

      Parameters

      • params: {
            commitIdentifier: string;
            entityIdentifier: string;
            message: string;
            signature: string;
        }

        Verification parameters

        • commitIdentifier: string

          Commit identifier

        • entityIdentifier: string

          Invitation entity identifier

        • message: string

          Message that was signed

        • signature: string

          Schnorr signature

      Returns boolean

      True if the signature is valid, false otherwise

      If the invitation entity identifier is not a valid HD public key string