Skip to content

Commit

Permalink
latest updated
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhuphp committed May 26, 2023
1 parent d4b4841 commit 66a75ab
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
44 changes: 44 additions & 0 deletions php_scripts/Helpful/encrpted.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?php

$string_to_encrypt="Test";

$password="password";

$encrypted_string=openssl_encrypt($string_to_encrypt,"AES-128-ECB",$password);

$decrypted_string=openssl_decrypt($encrypted_string,"AES-128-ECB",$password);



echo $encrypted_string;

echo "<br/>";

echo $decrypted_string;

$data = [
"5LaezWyRG1QgkZ4RPycWxI27U4P2L9hPODXIMl5OsWU=",
"9xwX9qGDrCn2I1ybTzTE2Dfc/bzsKAikTxDxzKfTI7+xFcI56G40laTf3tZk4Do/",
"zGgxBB/lT/T7FzNJF9imrJA4VezlGtcRaO61l2pX9aFYAP05xZBJ4pV4y/RsfNUL",
"zGgxBB/lT/T7FzNJF9imrJA4VezlGtcRaO61l2pX9aEeykkS0LaDPuCMpJ88diDG",
"nvTXTDpVorbYjkkQ0ZH6o7InKlc4ItLae6p23ikNFkicdZ4WREi9L3ClsrARju1o",
"iWy9xQZ3wrqiB8TD5QDsDJpI/FEcHADxygt3i88m5hI=",
"Yf3WJ3ohJQzQh/fcDwZYMiEDHa614Jqw1GFYZiiTan/1jPP5o7x5G+pYBzwOAZ+E",
"nvTXTDpVorbYjkkQ0ZH6oz7aEZhjQjY6+u3DOuSQevc0dFT1R+dS1GrAbMFQtEIS9Yzz+aO8eRvqWAc8DgGfhA==",
"nvTXTDpVorbYjkkQ0ZH6oxEyGT/297NPgYZ5b4GsgbCcdZ4WREi9L3ClsrARju1o",
"lEQbM5jXBWFng5XlKvGIPvSi0ydXt6m72im01RmzGGg=",
"LpF4et1S3cxv6bj04IlVyEa2qIUSdEEv2iJnBdS18XG35bnvPDn3C0BuclFBk9eT"
];
echo "<br/>";
$password = "";
foreach($data as $d)
{

echo $d."\n";
echo "<br/>";
echo openssl_decrypt($d,"AES-128-ECB",$password);
echo "<br/>";
echo "<br/>";
}

?>
1 change: 1 addition & 0 deletions siddhu_notes/trxade/edi.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<mxfile host="www.draw.io" modified="2023-03-06T10:06:33.843Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36" etag="m29t48ZS1RbT3gc_0di-" version="21.0.2" type="device"><diagram name="Page-1" id="Tg1cDIEQP8946oPzJvEM">jZNNb8IwDIZ/TY9I/RgdV2CMIY0LHNg1akwbLa1LCLTs18+hDqVDSDs1eWy/dmw3SOZluzSiLtYoQQdxKNsgeQviOArHIX0cuXRk/Jp0IDdKslMPtuoHfCTTk5JwHDhaRG1VPYQZVhVkdsCEMdgM3faoh1lrkcMD2GZCP9Kdkrbo6MQ/y/EPUHnhM0chW0rhnRkcCyGxuUPJIkjmBtF2p7Kdg3bN833p4t6fWG+FGajsfwI2cfO5+SoO6Xp02O+yVbVeyhGrnIU+8YODONWkN9sjyVLV9sKtSA8n9IbR8TqoKTlEk5qGPevtdMrdd/G28lpUVCfXWbgfN+XYQut4YUtNIKLj0Rr8hjlqNEQqrMBlVlr/QUKrvKJrRk0A4rMzGKtofFM2lEpKl2bWFMrCthaZy9nQshIzeKokuP6E/LAtF+X7QmrQPm14dBsj7T9gCdZcyIUDEh48b/4LX5t+jVJGxd0G+SjBi5vfdPvZ0oHH66/9Gl1tdz9jsvgF</diagram></mxfile>

0 comments on commit 66a75ab

Please sign in to comment.