@bicycle-codes/keys
Preparing search index...
verify
Function verify
verify
(
msg
:
string
|
Uint8Array
<
ArrayBufferLike
>
,
sig
:
string
|
Uint8Array
<
ArrayBufferLike
>
,
signingDid
:
`
did:key:z
${
string
}
`
,
)
:
Promise
<
boolean
>
Check that the given signature is valid with the given message.
Parameters
msg
:
string
|
Uint8Array
<
ArrayBufferLike
>
sig
:
string
|
Uint8Array
<
ArrayBufferLike
>
signingDid
:
`
did:key:z
${
string
}
`
Returns
Promise
<
boolean
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@bicycle-codes/keys
Loading...
Check that the given signature is valid with the given message.