sign

abstract fun sign(message: ByteArray): ByteArray(source)

Method to sign a message using a key.

Return

the signed message as a ByteArray

Parameters

message

the ByteArray to be signed