Skip to content

Instantly share code, notes, and snippets.

@mbuyco
mbuyco / readme.md
Last active May 22, 2021 20:11
CodeIgniter Password Hash Library installation tutorial by mac_devin

DISCLAIMER: I do not own any of the source codes provided below. This is only a tutorial on how to install CodeIgniter-Phpass-Library in your CodeIgniter applications. If you want to see the original tutorial, please go to this link: https://github.com/jenssegers/CodeIgniter-Phpass-Library

CodeIgniter Password Hash Library

phpass is a portable password hashing framework for use in PHP applications. The preferred (most secure) hashing method supported by phpass is the OpenBSD-style bcrypt (known in PHP as CRYPT_BLOWFISH), with a fallback to BSDI-style extended DES-based hashes (known in PHP as CRYPT_EXT_DES), and a last resort fallback to an MD5-based variable iteration count password hashing method implemented in phpass itself.

Installation

  1. Download this .zip file: https://github.com/jenssegers/CodeIgniter-Phpass-Library/archive/master.zip
  2. From the downloaded files, copy the libraries and vendor folder into your CodeIgniter application folder.