forked from Yara724/api
Added registrar mirrored
This commit is contained in:
8
src/common/auth/constants/hash.constants.ts
Normal file
8
src/common/auth/constants/hash.constants.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { ScryptOptions } from "node:crypto";
|
||||
|
||||
export const KEY_LENGTH = 64;
|
||||
export const SCRYPT_PARAMS: ScryptOptions = {
|
||||
N: 19456, // CPU/memory cost
|
||||
r: 8, // block size
|
||||
p: 1, // parallelization
|
||||
};
|
||||
Reference in New Issue
Block a user