iya-sts
    Preparing search index...
    hash: (secret: string) => Promise<string> = ...

    Type Declaration

      • (secret: string): Promise<string>
      • Hashes a code or token with scrypt, for keeping on the sign-in step.

        Parameters

        • secret: string

          the code or token

        Returns Promise<string>

        a promise of the hash