Axinom Mosaic Libraries
    Preparing search index...
    • Validates that the value that should be verified matches the provided signature via the public key.

      Parameters

      • valueToVerify: string | number | boolean | object

        The received value for which the signature should be verified

      • signature: string

        The signature that was provided alongside the value.

      • publicKey: string

        The public key of the sender that signed the value.

      Returns boolean

      boolean Returns true if the signature is correct - otherwise false,