Many times I have to work on the code of a site and maybe change a password of any web application made in php or asp.
The problem is that many different platforms and scripts store the encrypted passwords (encrypted or encrypted if you prefer) in the configuration file. So to change your password please enter the so-called hash (result of the encryption) password.
In most cases the encryption algorithm used is the 'md5, although not quite as safe (if you search on google "md5 break" come out many sites that explain how to crack the algorithm.
But not alone: other algorithms used are the 'safest MD4 and Sha-1.
Here I did a little research and I finally found one page where you can discover how to create the password hashes with these 3 algorithms on the fly.
He is so useful that it carried "live" down here, with lots of files. Zip code to insert it into your website or use it on your pc!
Encryption Tool
-
If you also want to integrate this script, you can follow this short tutorial:
- download the file encryption.js
- copy in the same folder as the html page where you want to put the script
- open the html page and enter the following code:
<h1> Password Encryption Tool </ h1>
src="encryption.js" <script type="text/javascript"> </ script>
<form>
<table border="0" cellpadding="4" cellspacing="1" bgcolor="#000000">
<tr>
<td style="color: white; font-weight: bold; padding:10px;"> Password </ td>
<td bgcolor="#32922D">
<input name="input" size="50" type="text">
</ Td>
</ Tr>
<tr>
<td style="color: white; font-weight: bold; padding:10px;"> Calculates the hash </ td>
<td align="center"> bgcolor="#32922D"
<input onclick="hash.value = hex_md4(input.value)" value="MD4" type="button">
<input onclick="hash.value = hex_md5(input.value)" value="MD5" type="button">
<input onclick="hash.value = hex_sha1(input.value)" value="SHA-1" type="button">
</ Td>
</ Tr>
<tr>
<td style="color: white; font-weight: bold; padding:10px;"> Result </ td>
<td bgcolor="#32922D"> <input name="hash" size="50" type="text"> </ td>
</ Tr>
</ Table>
</ Form>
<i> <font size="1"> Encryption Tool by <a href="http://blog.alancurtis.it/"> Alan Curtis Blog - software, scripts, web marketing & SEO </ a> </ font > </ i> <br /> <br /> <br />
This script can also be used locally, since it only requires the JavaScript enabled.
This is version. Zip download with this sample included: password_encryption_tool.zip
This example was created using the libraries to create hash made by Paul Johnston, vai the author's website: http://pajhome.org.uk/crypt/md5
I have only restricted to merge algorithms in a file. Js only and did the small page html for example. If you use it and you feel like ... well let my link! Thank you!
Well, that's all!
Good encryption to all!

