Jump to content


Photo

Hello All


  • Please log in to reply
1 reply to this topic

#1 chachew

chachew

    Newbie

  • New Members
  • Pip
  • 6 posts

Posted 15 November 2012 - 06:16 PM

Hello everyone...nice to be here

#2 Muddy_Funster

Muddy_Funster

    Advanced Member

  • Members
  • PipPipPip
  • 2,993 posts

Posted 22 November 2012 - 06:40 AM

Hi and welcome.
A simple password hash :

function makePass($word=''){
  $dbSalt = '$2a$07$'.substr(hash('whirlpool',$word),0,22);
  $dbPass = crypt($word, $dbSalt);
 return substr($dbPass,12);
}



My SQL/PHP Blog




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com