iya-sts
    Preparing search index...

    Variable verifySecret

    verifySecret: (plaintext: any, stored: any) => any = verifySecret

    Type Declaration

      • (plaintext: any, stored: any): any
      • Verifies a secret against a stored scrypt form, in constant time.

        Parameters

        • plaintext: any

          the presented secret

        • stored: any

          the stored form

        Returns any

        true when it matches; false for no match or a value it cannot read