V_GiaiMa function

String V_GiaiMa(
  1. String encryptedData
)

✅ IMPROVED: Decode and decompress data

Implementation

// ignore: non_constant_identifier_names
String V_GiaiMa(String encryptedData) {
  try {
    if (encryptedData.isEmpty) return '';

    final normalized = _normalizeBase64(encryptedData);
    final compressedBytes = base64.decode(normalized);
    final decompressedBytes = ZLibDecoder(raw: true).convert(compressedBytes);

    return utf8.decode(decompressedBytes);
  } catch (e) {
    debugPrint('❌ V_GiaiMa error: $e');
    return encryptedData;
  }
}