PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 387 All time: 6,683 This week: 206Up
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
Innovation award
Innovation award
Nominee: 5x

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:387
This week:0
All time:6,683
This week:206Up
User Ratings User Comments (1)
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1489
 
Thats a good class :-)
11 years ago (José Filipe Lopes Santos)
70%StarStarStarStar