Function nodeCredentialFromPasswHash

  • Derives the node id from already-hashed credential material. Used by the SDK after it reads the human passphrase from credentials.json and hashes it once at startup.

    Parameters

    • input: {
          passwHash: string;
          rootKey: string;
      }
      • passwHash: string
      • rootKey: string

    Returns {
        nodeId: string;
        passwHash: string;
    }

    • nodeId: string
    • passwHash: string