import 'package:siro_admin/controller/functions/encrypt_decrypt.dart';
import 'package:siro_admin/constant/info.dart';

void main() {
  String testJwt = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiYWRtaW4ifQ.signature";
  print("Original: $testJwt");
  
  String encrypted = c(testJwt);
  print("Encrypted: $encrypted");
  
  String decrypted = r(encrypted);
  print("Decrypted: $decrypted");
  
  String split = decrypted.split(AppInformation.addd)[0];
  print("Split: $split");
  
  if (testJwt == split) {
    print("✅ Match!");
  } else {
    print("❌ Mismatch!");
  }
}
