Function bitcoin_message::message_sign
source · pub fn message_sign(
privkey: &Key,
message: &String,
signature: &mut String
) -> bool
Expand description
| Sign a message. | | ———– | @param[in] privkey | | Private key to sign with. | ––––– | @param[in] message | | The message to sign. | ––––– | @param[out] signature | | Signature, base64 encoded, only set | if true is returned. | | ———– | @return | | true if signing was successful. |