@textile/hub > privateKeyFromString
privateKeyFromString() function
Decode the given base-32 encoded multibase string into a Private key.
Signature:
export declare function privateKeyFromString(str: string): Uint8Array;
Parameters
Parameter | Type | Description |
---|---|---|
str | string | The base-32 encoded multibase string. |
Returns:
Uint8Array