• Verify the given signature.

    Parameters

    • msg: Msg
    • sig: string | ArrayBuffer | Uint8Array<ArrayBufferLike>
    • publicKey: string | CryptoKey
    • charSize: CharSize = DEFAULT_CHAR_SIZE
    • curve: EccCurve = DEFAULT_ECC_CURVE
    • hashAlg: HashAlg = DEFAULT_HASH_ALGORITHM

    Returns Promise<boolean>