1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-19 07:35:48 +02:00
bitwarden-browser/src/abstractions/audit.service.ts
Oscar Hinton 1aabb42e47 AuditService (#2)
* Add AuditService.

* Change sha1 to use Webcrypto.

* Add interface for AuditService.

* Move PwnedPasswodsApi constant outside class.

* Change FromBufferToHex implementation to simpler code.

* Use correct string to array function.

* Change auditService interface to abstract class. Add missing type to utils.
2018-02-28 10:52:35 -05:00

4 lines
98 B
TypeScript

export abstract class AuditService {
passwordLeaked: (password: string) => Promise<number>;
}