29 lines
593 B
Markdown
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`
|
|
|
|
___
|
|
|