1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

formatting fixes

This commit is contained in:
Kyle Spearrin
2018-04-13 23:55:07 -04:00
parent 95cd9153c9
commit 5608f11925
2 changed files with 2 additions and 3 deletions

View File

@@ -454,7 +454,7 @@ export class CryptoService implements CryptoServiceAbstraction {
async sha1(password: string): Promise<string> {
const passwordArr = UtilsService.fromUtf8ToArray(password);
const hash = await Crypto.subtle.digest({ name: 'SHA-1' }, passwordArr);
const hash = await Subtle.digest({ name: 'SHA-1' }, passwordArr);
return UtilsService.fromBufferToHex(hash);
}