PHP Classes

EncLib: Create a hash and verify a password using Blowfish

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-12-03 (4 months ago) RSS 2.0 feedNot enough user ratingsTotal: 257 All time: 7,837 This week: 455Up
Version License PHP version Categories
enclib 1.1BSD License5PHP 5, Cryptography, User Management


This class can create a hash and verify a password using Blowfish.

It can take a given password and create a hash using the crypt function with a salt starting with $2a$ to make it use Blowfish hashing.

The class can also verify if a previously generated hash matches of a given password.

In Portuguese:

Classe para encriptar a senha e gerar um hash para guardar no banco de dados e realizar a operação reversa.

Picture of Sousa Gaspar
Name: Sousa Gaspar <contact>
Classes: 1 package by
Country: Angola Angola
Age: ???
All time rank: 39571 in Angola Angola
Week rank: 321 Up1 in Angola Angola Equal

  Files folder image Files  
File Role Description
Plain text file Encript.class.php Class Enclib crypt class
Accessible without login Plain text file Leia-me primeiro.txt Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,837
This week:455Up