Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <meta charset="utf-8" />
- <title>Criptografia</title>
- </head>
- <body>
- <?php
- //palavra a ser criptografada
- $palavra = 'ifro';
- //criptografia md5
- $a = md5($palavra);
- //criptografia Sha1
- $b = sha1($palavra);
- //Impressão do texto
- echo "Palavra ifro em md5: <h1>" . $a . "</h1><br>" ;
- echo "Palavra ifro em Sha1: <h1>" . $b . "</h1><br>" ;
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement