virtuals/auth/utils/scrypt
Variables
Section titled “Variables”Scrypt
Section titled “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.
Remarks
Section titled “Remarks”- Uses dependency injection to provide the live Scrypt implementation.
- Configuration values are sourced from environment or constants.
Returns
Section titled “Returns”An Effect containing the Scrypt run
method.