Functions
signBytes
signBytes(
key
,data
):Promise
<SignatureBytes
>
Given a private CryptoKey
and a
Uint8Array
of bytes, this method will return the 64-byte Ed25519 signature of that data as a
Uint8Array
.
Parameters
Parameter | Type |
---|---|
key | CryptoKey |
data | ReadonlyUint8Array |