Function to sign a message with a private key.
The message to sign.
The private key to sign the message with.
The signature of the message.
Function to sign a message with a private key.