Crate bitcoin_message

Source

Enums§

MessageVerificationResult
| The result of a signed message verification. | | Message verification takes as an input: | | - address (with whose private key the | message is supposed to have been signed) | | - signature | | - message |

Constants§

MESSAGE_MAGIC
| Text used to signify that a signed message | follows and to prevent inadvertently | signing a transaction. |

Functions§

message_hash
| Hashes a message for signing and verification | in a manner that prevents inadvertently | signing a transaction. |
message_sign
| Sign a message. | | ———– | @param[in] privkey |
message_verify
| Verify a signed message. | | ———– | @param[in] address | | Signer’s bitcoin address, it must refer