iya-sts
    Preparing search index...

    Variable constantTimeEquals

    constantTimeEquals: (a: any, b: any) => any = constantTimeEquals

    Type Declaration

      • (a: any, b: any): any
      • Compares two secrets in constant time; only a length difference is found in variable time.

        Parameters

        • a: any

          one value

        • b: any

          the other

        Returns any

        true when they are equal