Jancuokjaran

md5

Aug 29th, 2018
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.46 KB | None | 0 0
  1. <title>sha1(md5) Password Generator</title>
  2. <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>" >
  3. <input type="text" name="password" placeholder="Input Password To Encrypt" required>
  4. <input type="submit" name="submit" value="Generate">
  5. </form>
  6. <?php
  7.     if(isset($_POST['submit']) && !empty($_POST["password"]))
  8.     {
  9.         $password = $_POST['password'];
  10.         $encrypted = sha1(md5($password));
  11.         echo "<font folor='green'>Result</font>: ".$encrypted;
  12.     }
  13.  ?>
Add Comment
Please, Sign In to add comment