Hub JS Package

Hub JS Package

  • Users
  • Buckets
  • Threads
  • Textile Docs

@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

ParameterTypeDescription
strstringThe base-32 encoded multibase string.

Returns:

Uint8Array

  • privateKeyFromString() function
  • Parameters
Hub JS Package
Docs
Getting StartedThreadDBBuckets
Resources
All DocumentationProject SlackBlog
More
GitHubStar
Follow @textileio