commit
16c0c34ac5
|
@ -1,33 +1,24 @@
|
||||||
---
|
|
||||||
title: Message Verification and Signing
|
|
||||||
description: Bitcoin Message Verification and Signing.
|
|
||||||
---
|
|
||||||
# Message Verification and Signing
|
# Message Verification and Signing
|
||||||
|
Bitcore implementation of [bitcoin message signing and verification](http://bitcoin.stackexchange.com/questions/3337/what-are-the-safety-guidelines-for-using-the-sign-message-feature/3339#3339). This is used to cryptographically prove that a certain message was signed by the holder of an address private key.
|
||||||
## Description
|
|
||||||
|
|
||||||
Bitcore implementation of [bitcoin message signing and verification]
|
|
||||||
(http://bitcoin.stackexchange.com/questions/3337/what-are-the-safety-guidelines-for-using-the-sign-message-feature/3339#3339).
|
|
||||||
This is used to cryptographically prove that a certain message was signed by the holder of an address private key.
|
|
||||||
|
|
||||||
For more information refer to the [bitcore-message](https://github.com/bitpay/bitcore-message) github repo.
|
For more information refer to the [bitcore-message](https://github.com/bitpay/bitcore-message) github repo.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Message Verification and Signing is implemented as a separate module and you must add it to your dependencies:
|
Message Verification and Signing is implemented as a separate module and you must add it to your dependencies:
|
||||||
|
|
||||||
For node projects:
|
For node projects:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install bitcore-message --save
|
npm install bitcore-message --save
|
||||||
```
|
```
|
||||||
|
|
||||||
For client-side projects:
|
For client-side projects:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bower install bitcore-message --save
|
bower install bitcore-message --save
|
||||||
```
|
```
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
To sign a message:
|
To sign a message:
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
|
Loading…
Reference in New Issue