- !
Note : Change your hash key in function.php ( $clef )
// Encrypt
<?php
include 'function.php';
$mot = 'Hey';
echo mdp($mot, 'illisible'); // encrypt "Hey"
?>
// Unencrypt
<?php
include 'function.php';
$mot = 'Djoceicecoe';
echo mdp($mot, 'lisible'); // unencrypt "Djoceicecoe" to "Hey" ( it's an example 😆 )
?>
// Encrypt
<?php
include 'function.php';
echo mdp($_POST["mot"], 'illisible'); // unencrypt "$_POST["mot"]"
?>
// Unencrypt
<?php
include 'function.php';
echo mdp($_POST["mot"], 'lisible'); // encrypt "$_POST["mot"]"
?>