Sign a message with the given private_key in wif format compatible with bitcoin core signmessagewithprivkey
message
private_key
signmessagewithprivkey