API reference / @evolu/common / Crypto / createSlip21
Function: createSlip21()
function createSlip21(
seed,
path,
): Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length32">;
Defined in: packages/common/src/Crypto.ts:71
SLIP21.
https://github.com/satoshilabs/slips/blob/master/slip-0021.md
Parameters
| Parameter | Type |
|---|---|
seed | | Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length16"> | Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length32"> | Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length64"> |
path | readonly (string | number)[] |
Returns
Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length32">