跳转到内容

virtuals/auth/utils/scrypt

此内容尚不支持你的语言。

const Scrypt: any;

Defined in: studiocms/packages/studiocms/src/virtuals/auth/utils/scrypt.ts:25^

Provides a configured Scrypt effect for password hashing and verification.

This effect is initialized with the provided Scrypt configuration options, including the encryption key, key length, and scrypt parameters (N, r, p). The returned object exposes a run method for performing scrypt operations.

  • Uses dependency injection to provide the live Scrypt implementation.
  • Configuration values are sourced from environment or constants.

An Effect containing the Scrypt run method.