| Hashes a message for signing and verification
| in a manner that prevents inadvertently
| signing a transaction.
|
| 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.
|
| Verify a signed message.
|
| ———–
| @param[in] address
|
| Signer’s bitcoin address, it must refer
| to a public key.
| –––––
| @param[in] signature
|
| The signature in base64 format.
| –––––
| @param[in] message
|
| The message that was signed.
|
| ———–
| @return
|
| result code
|