sign

suspend fun sign(data: ByteArray): ByteArray

Sign the provided data with the keypair's private key.

Return

signed bytes (64 bytes)

Parameters

data

The data to sign

Throws

if the private key for this keypair is null