signMessage

abstract fun signMessage(message: ByteArray, secret: ByteArray): ByteArray?

Sign a message using the same algorithm as the original bitcoin wallet's signmessage functionality

Return

signature in binary format. Call Codec.encode64 (BCHserialize.kt) to convert to the exact signature format used by the bitcoin wallet's signmessage