signMessage

open fun signMessage(privateKey: PrivateKey, message: String): String

Sign a message.

Parameters

privateKey

: the private key used for signing

message

: A custom hex message which is input to the signing.