Skip to content

Instantly share code, notes, and snippets.

@cyc0der
Created November 7, 2013 20:47
Show Gist options
  • Save cyc0der/7361604 to your computer and use it in GitHub Desktop.
Save cyc0der/7361604 to your computer and use it in GitHub Desktop.
a secure algoritm for hash passwords
<?php
function hasher($string){
$hash = hash('sha384', 'kw-8u2j8746&$%@)+sk/'.$string.'16seg)#%(nasf');
$hash .= hash('sha512', 'ogw00`97gt644q*93jas'.$string.'14:JFH*#%,,.t');
$hash .= hash('haval256,5', '464f(^%q3`580F444)h)_'.$hash.'GFYT&QWrml%f%@');
$hash .= hash('crc32b', '19(@#]$)&[)^$~d143Y%)'.$hash.'^#%%&(*%^(##3^');
$hash .= hash('crc32b', '19(@#$){p&)^$$fd143Y%'.$hash.'hghfaf(T)4%53^');
$hash .= hash('sha512', 'ogw00`97gt644q*93jas'.$string.'14:JFH*#%,,.t');
$hash .= hash('crc32b', '19(@#$G#dgh5$$fd143Y%'.$hash.'hghfaf(T)y#53^');
$hash .= hash('crc32b', '19(@#$){p&)^$$fd143Y%'.$hash.'hghfaf(T)4%53^');
$hash .= hash('haval256,5', '464f(^%q3580F444)h)_'.$string.'GFYT&QWrmlf%@');
$hash .= hash('gost', '$D)$+L:SAHF(|)ASF)#~)'.$hash.'46asf9&*(%#%%=');
$hash .= hash('sha384', 'kq-8u2j8746~&$%@)+sk/'.$hash.'16s%eg)#%(nasf');
$hash .= hash('crc32b', '19(@#$){p&)^$^fd143Y%'.$hash.'hghfafatv4%53^');
$hash .= hash('snefru', '123(^$%@!@+!`~1f6&#)'.$string.'*%^QQ@$()&1gs');
$hash .= hash('crc32b', '19(@#]$)&[)^$~d143Y%)'.$hash.'^#%%&(*%^(##3^');
$hash .= hash('crc32b', '19(@#$){p&)^$$fd143Y%'.$hash.'hghfaf(T)4%53^');
$hash .= hash('crc32b', '19(@#$){p&)^$$fd(43Y%'.$hash.'hghfaf(jhg%53^');
$hash .= hash('sha512', 'ogw00`97gt644q*93jas'.$string.'14:JFH*#%,,.t');
$hash .= hash('whirlpool', '1239()&^%"leg9+2464a)'.$hash.'45^6^f*(%12m)s');
return $hash;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment