small difference

This commit is contained in:
2024-02-03 00:39:27 +01:00
parent c135e4e98a
commit daff03e5f3
9 changed files with 151 additions and 4 deletions
+15
View File
@@ -0,0 +1,15 @@
export default class PassCheck {
private BcryptSaltRounds;
private PassPolicy;
constructor(BcryptSaltRounds: number, PassPolicyOptions: {
minLength: number;
maxLength: number;
minLower: number;
minUpper: number;
minNum: number;
minSpecial: number;
specialChars: string;
});
verifyPassword(password: string, hash: string): Promise<boolean>;
hashPassword(password: string): Promise<string>;
}