Function verifyStoredNodeCredential

  • Verifies a stored passwHash corresponds to nodeId under rootKey. This is the only comparison the server should ever perform; it never re-hashes the supplied material.

    Parameters

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

    Returns boolean