UNPKG

laksa-core-crypto

Version:

crypto libraries for laksa

21 lines (14 loc) 441 B
--- 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 |