Skip to content

Instantly share code, notes, and snippets.

@mataprasad
Created November 4, 2017 09:23
Show Gist options
  • Save mataprasad/baefc94bc575b83e13f26bb38de42383 to your computer and use it in GitHub Desktop.
Save mataprasad/baefc94bc575b83e13f26bb38de42383 to your computer and use it in GitHub Desktop.
<?php
include_once "./Helper/CryptoHelper.php";
$input = "Text to encrypt";
echo "input:". $input."</br>";
$cipher = CryptoHelper::encrypt($input);
echo "cipher:". $cipher."</br>";
$output = CryptoHelper::decrypt($cipher);
echo "output:".$output;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment