@textile/hub > privateKeyToString
privateKeyToString() function
Encode the given PrivateKey to its base-32 encoded multibase representation.
Signature:
export declare function privateKeyToString(key: Private): string;
Parameters
Parameter | Type | Description |
---|---|---|
key | Private | The input PrivateKey. |
Returns:
string