Files
common/docs/util-crypto/modules/_secp256k1_recover_.md
T
2019-02-27 14:33:22 +00:00

29 lines
593 B
Markdown

# Functions
<a id="secp256k1recover"></a>
## secp256k1Recover
▸ **secp256k1Recover**(_message: *`Uint8Array`*, _signature: *`Uint8Array`*, recovery: *`number`*): `Uint8Array`
*Defined in [secp256k1/recover.ts:12](https://github.com/polkadot-js/common/blob/e397016/packages/util-crypto/src/secp256k1/recover.ts#L12)*
*__name__*: secp256k1Recover
*__description__*: Recovers a publicKey from the supplied signature
**Parameters:**
| Name | Type |
| ------ | ------ |
| _message | `Uint8Array` |
| _signature | `Uint8Array` |
| recovery | `number` |
**Returns:** `Uint8Array`
___