mirror of
https://github.com/immich-app/immich.git
synced 2025-11-28 07:49:52 +09:00
refactor(server): new password repo method (#8208)
This commit is contained in:
@@ -8,4 +8,5 @@ export interface ICryptoRepository {
|
||||
hashSha1(data: string | Buffer): Buffer;
|
||||
hashBcrypt(data: string | Buffer, saltOrRounds: string | number): Promise<string>;
|
||||
compareBcrypt(data: string | Buffer, encrypted: string): boolean;
|
||||
newPassword(bytes: number): string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user