---
title: _index
---

# _index

<a name="sign"></a>

## sign(msg, privateKey, pubKey) ⇒ <code>string</code>
sign method using prviteKey and pubKey

**Kind**: global function  
**Returns**: <code>string</code> - the signature  

| Param | Type | Description |
| --- | --- | --- |
| msg | <code>Buffer</code> | message buffer |
| privateKey | <code>String</code> | private key string |
| pubKey | <code>String</code> | public key string |

