7/5/4
This commit is contained in:
@@ -22,50 +22,52 @@ GetBuilder<HomeCaptainController> leftMainMenuCaptainIcons() {
|
||||
left: 6,
|
||||
child: Column(
|
||||
children: [
|
||||
// AnimatedContainer(
|
||||
// duration: const Duration(microseconds: 200),
|
||||
// width: controller.widthMapTypeAndTraffic,
|
||||
// decoration: BoxDecoration(
|
||||
// border: Border.all(color: AppColor.blueColor),
|
||||
// color: AppColor.secondaryColor,
|
||||
// borderRadius: BorderRadius.circular(15)),
|
||||
// child: IconButton(
|
||||
// onPressed: () {
|
||||
// // AC credentials = AC();
|
||||
// String apiKey = 'mehmetDEV@2101';
|
||||
// // String convertedStringN = credentials.c(
|
||||
// // credentials.c(credentials.c(apiKey, cs), cC), cn);
|
||||
// // print(convertedStringN);
|
||||
// // String retrievedStringS = credentials.r(
|
||||
// // credentials.r(credentials.r(convertedStringN, cn), cC),
|
||||
// // cs);
|
||||
// // print(retrievedStringS);
|
||||
// // //
|
||||
// // if (retrievedStringS == apiKey) {
|
||||
// // print('same');
|
||||
// // }
|
||||
//
|
||||
// // key.forEach((key, apiKey) {
|
||||
// String encryptedApiKey = KeyEncryption.encryptKey(apiKey);
|
||||
// print('Encrypted = $encryptedApiKey');
|
||||
//
|
||||
// String decryptedApiKey =
|
||||
// KeyEncryption.decryptKey(encryptedApiKey);
|
||||
// print('Decrypted : $decryptedApiKey');
|
||||
//
|
||||
// // if (decryptedApiKey == apiKey) {
|
||||
// // print('Keys match for $decryptedApiKey');
|
||||
// // } else {
|
||||
// // // print('Keys do not match for $key');
|
||||
// // }
|
||||
// // });
|
||||
// },
|
||||
// icon: const Icon(
|
||||
// FontAwesome.map_signs,
|
||||
// size: 24,
|
||||
// color: Colors.black,
|
||||
// )),
|
||||
// ),
|
||||
AnimatedContainer(
|
||||
duration: const Duration(microseconds: 200),
|
||||
width: controller.widthMapTypeAndTraffic,
|
||||
decoration: BoxDecoration(
|
||||
border: Border.all(color: AppColor.blueColor),
|
||||
color: AppColor.secondaryColor,
|
||||
borderRadius: BorderRadius.circular(15)),
|
||||
child: IconButton(
|
||||
onPressed: () {
|
||||
// AC credentials = AC();
|
||||
String apiKey = 'maldev@2101hamzaayedseferegyptjo';
|
||||
// String convertedStringN = credentials.c(
|
||||
// credentials.c(credentials.c(apiKey, cs), cC), cn);
|
||||
// print(convertedStringN);
|
||||
// String retrievedStringS = credentials.r(
|
||||
// credentials.r(credentials.r(convertedStringN, cn), cC),
|
||||
// cs);
|
||||
// print(retrievedStringS);
|
||||
// //
|
||||
// if (retrievedStringS == apiKey) {
|
||||
// print('same');
|
||||
// }
|
||||
|
||||
// key.forEach((key, apiKey) {
|
||||
|
||||
// keys.forEach((key, apiKey) {
|
||||
String encryptedApiKey = KeyEncryption.encryptKey(apiKey);
|
||||
print('Encrypted API Key for : $encryptedApiKey');
|
||||
|
||||
String decryptedApiKey = KeyEncryption.decryptKey(
|
||||
"Hsd7tLdt4ZsSRMCCs0xia2ct9O1jrJKyZu6pvh6MjL8qg6TkJ9FZCW4H/OqCkMjtokBOTdTX0P2sASLTcTxBVA==");
|
||||
print('Decrypted API Key for : $decryptedApiKey');
|
||||
|
||||
if (decryptedApiKey == apiKey) {
|
||||
print('Keys match for ');
|
||||
} else {
|
||||
print('Keys do not match for ');
|
||||
}
|
||||
// });
|
||||
},
|
||||
icon: const Icon(
|
||||
FontAwesome.map_signs,
|
||||
size: 24,
|
||||
color: Colors.black,
|
||||
)),
|
||||
),
|
||||
const SizedBox(
|
||||
height: 5,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user