1
0
forked from Yara724/api

Merge pull request 'Added common utils' (#138) from s.yahyaee/yara724-api:main into main

Reviewed-on: Yara724/api#138
This commit is contained in:
2026-06-20 12:05:15 +03:30
2 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
export {
CURRENT_ALGORITHM,
CURRENT_VERSION,
KEY_LENGTH,
KEY_LENGTH_FOR_OTP,
SCRYPT_PARAMS,
SCRYPT_PARAMS_FOR_OTP,
} from "./hash.constants";

View File

@@ -0,0 +1,8 @@
export interface PasswordHash {
hash: string;
salt: string;
algorithm: string;
version: number;
params: Record<string, unknown>;
createdAt: Date;
}