Fix: Add missing await (#368)

This commit is contained in:
Neeraj Gupta 2023-11-24 22:07:04 +05:30 committed by GitHub
parent 78b3d239eb
commit cdc27e061b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -451,9 +451,9 @@ class CryptoUtil {
Uint8List salt,
int memLimit,
int opsLimit,
) {
) async {
try {
return _computer.compute(
return await _computer.compute(
cryptoPwHash,
param: {
"password": password,