iya-sts
    Preparing search index...

    Variable bytesEqualConstantTime

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

    Type Declaration

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

        Parameters

        • a: any

          one value (a Buffer or a typed array)

        • b: any

          the other

        Returns any

        true when they are the same bytes