first commit
This commit is contained in:
commit
c9fb67e751
423 files changed
+53287
No files matched your search
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
declare module 'bcryptjs' {
|
||||
export function genSalt(rounds?: number): Promise<string>;
|
||||
export function hash(s: string, salt: string | number): Promise<string>;
|
||||
export function compare(s: string, hash: string): Promise<boolean>;
|
||||
export function hashSync(s: string, salt: string | number): string;
|
||||
export function compareSync(s: string, hash: string): boolean;
|
||||
export function genSaltSync(rounds?: number): string;
|
||||
export const getRounds: (hash: string) => number;
|
||||
}
|
||||
Reference in new issue
Block a user