IdentityModule · packages/server/src/auth/password.ts:122

ScryptHasher

component

scrypt at full strength.

API

@Component()
export class ScryptHasher implements PasswordHasher {
  hash(password: string): Promise<string>;
}

Dependencies & Wiring

Extracted from class decorators
implementsinterfaces

Methods (1)

hash

hash(password: string): Promise<string>
@parampasswordstring
@returnsPromise<string>