removed compute

This commit is contained in:
otsmr 2025-06-17 00:35:27 +02:00
parent 4927d4adf4
commit 4536e82e1b

View file

@ -52,6 +52,7 @@ Future<(Uint8List, Uint8List)> getMasterKey(
); );
// Derive the key // Derive the key
final key = (await compute(scrypt.convert, passwordBytes)).bytes; // final key = (await compute(scrypt.convert, passwordBytes)).bytes;
final key = (scrypt.convert(passwordBytes)).bytes;
return (key.sublist(0, 32), key.sublist(32, 64)); return (key.sublist(0, 32), key.sublist(32, 64));
} }