- verify(
msg: string | Uint8Array<ArrayBufferLike>,
sig: string | Uint8Array<ArrayBufferLike>,
signingDid: `did:key:z${string}`,
): Promise<boolean> Parameters
- msg: string | Uint8Array<ArrayBufferLike>
- sig: string | Uint8Array<ArrayBufferLike>
- signingDid: `did:key:z${string}`
Returns Promise<boolean>
Check that the given signature is valid with the given message.