23 lines
356 B
Markdown
23 lines
356 B
Markdown
|
|
|
|
# Functions
|
|
|
|
<a id="tosecret"></a>
|
|
|
|
## toSecret
|
|
|
|
▸ **toSecret**(mnemonic: *`string`*): `Uint8Array`
|
|
|
|
*Defined in [mnemonic/toSecret.ts:8](https://github.com/polkadot-js/common/blob/2be211c/packages/util-crypto/src/mnemonic/toSecret.ts#L8)*
|
|
|
|
**Parameters:**
|
|
|
|
| Name | Type |
|
|
| ------ | ------ |
|
|
| mnemonic | `string` |
|
|
|
|
**Returns:** `Uint8Array`
|
|
|
|
___
|
|
|