mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 09:08:40 +00:00
removed compute
This commit is contained in:
parent
4927d4adf4
commit
4536e82e1b
1 changed files with 2 additions and 1 deletions
|
|
@ -52,6 +52,7 @@ Future<(Uint8List, Uint8List)> getMasterKey(
|
|||
);
|
||||
|
||||
// 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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue