I was just thinking if creating a password hash by using a salt created from the password himself is safe to use. Here an example in php:
<?php
$pass = $_GET['pass'];
$salt = hash('whirlpool', $pass);
$pass = md5(hash('whirlpool', $salt.$pass));
echo $pass;
?>
Does this make sense ?
Regards.