PHP Bcrypt Class: Generate and validate a password hash using crypt

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 385 This week: 1All time: 6,613 This week: 282Up
Version License PHP version Categories
bcrypt-class 1.0.0GNU Lesser Genera...5.0PHP 5, Cryptography
Description Author

This class can generate and validate a password hash using crypt.

It can take a password text and generate a hash using the crypt function together with a random salt.

The class can use the crypt function twice to make it more difficult to find the original password against rainbow tables.

It can also check if a given password matches a hash generated previously with the class.

Picture of Jan Altensen
  Performance   Level  
Name: Jan Altensen <contact>
Classes: 12 packages by
Country: Germany Germany
Age: 27
All time rank: 109068 in Germany Germany
Week rank: 94 Up4 in Germany Germany Up
Innovation award
Innovation award
Nominee: 5x

  Files folder image Files  
File Role Description
Plain text file bcrypt.class.php Class main class
Plain text file example.php Example example

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:6,613
This week:282Up
User Comments (1)
Thats a good class :-)
7 years ago (Josť Filipe Lopes Santos)
For more information send a message to info at phpclasses dot org.