mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
refactor(server): new password repo method (#8208)
This commit is contained in:
parent
604b8ff17c
commit
787eebcf1e
9 changed files with 15 additions and 10 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue