1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

Make Argon2 WebAssembly module unload after use (#5072)

This commit is contained in:
Bernd Schoolmann
2023-07-03 14:12:42 +02:00
committed by GitHub
parent 3185c0a61b
commit f5c329030d
2 changed files with 15 additions and 10 deletions

View File

@@ -69,6 +69,7 @@ export class WebCryptoFunctionService implements CryptoFunctionService {
hashLen: 32,
type: argon2.ArgonType.Argon2id,
});
argon2.unloadRuntime();
return result.hash;
}