updateEncryptedSeed method
Implementation
Future<void> updateEncryptedSeed(String? pubKey, passOld, passNew) async {
final seed = await (getDecryptedSeed(pubKey, passOld)
as FutureOr<Map<String, dynamic>>);
encryptSeedAndSave(pubKey, seed['seed'], seed['type'], passNew);
}