Function hdPrivateKeyToIdentifier

  • Decode the provided HD private key and compute its identifier. Error messages are returned as a string.

    Parameters

    • hdPrivateKey: string
    • crypto: {
          sha256: {
              hash: ((input) => Uint8Array) & ((input) => Uint8Array);
          };
      } = ...
      • sha256: {
            hash: ((input) => Uint8Array) & ((input) => Uint8Array);
        }
        • hash: ((input) => Uint8Array) & ((input) => Uint8Array)

    Returns string | Uint8Array

Generated using TypeDoc