sign

abstract fun sign(message: ByteArray, secretKey: ByteArray): ByteArray

Signs the message using the secret key and returns a signed message

Return

The signature of the message

Parameters

message

: The message to sign

secretKey

: The secret key to sign the message with