serialize
Serialize the message.
Parameters
sender Private Key
The private key to sign the message
hashing Algorithm
The hashing algorithm to use in the signature
Serialize the message.
The private key to sign the message
The hashing algorithm to use in the signature