Development Wall

help for php, codeigniter, javascript, jquery, mysql, apache, ubuntu

Archive for June, 2012

Create a secure password hash with SHA256 in php

By • Jun 13th, 2012 • Category: PHP

Most of the time PHP developers encrypt password with MD5. But this days we need more secure encrypted  password. Bellow I will show how to use SHA256 encryption method to create secure password hash. We just need  two simple function: First function genenrate_salt create a random string which will be used as salt for password [...]