initialize static method
Initialize Hive with encryption
Implementation
static Future<void> initialize() async {
await EncryptionHelper.ensureStoragePathExists();
Hive.init(hiveDataPath);
final encryptionKey = await EncryptionHelper.loadOrCreateKey();
await Hive.openBox<String>(
_boxName,
encryptionCipher: HiveAesCipher(encryptionKey),
);
}