Files
SpotiFLAC-Mobile/lib/services/secure_storage_options.dart
T

12 lines
515 B
Dart

import 'package:flutter_secure_storage/flutter_secure_storage.dart';
// All clients share the default Android storage namespace. A failed read or
// migration in any client must not erase the extension master key stored there.
const secureStorageAndroidOptions = AndroidOptions(
resetOnError: false,
migrateOnAlgorithmChange: true,
migrateWithBackup: true,
keyCipherAlgorithm: KeyCipherAlgorithm.RSA_ECB_OAEPwithSHA_256andMGF1Padding,
storageCipherAlgorithm: StorageCipherAlgorithm.AES_GCM_NoPadding,
);