Category: Web Development

How to Salt & Hash a Password using Sha256 2

How to Salt & Hash a Password using Sha256

In last tutorial we learned password hashing in php. In this tutorial we will learn How to Salt & Hash a Password with Sha 256 in PHP. Syntax for Sha256 encryption $password=$_POST[‘password’]; $hasedpassword=hash(‘sha256’,$password); Signup  form...

password hashing in php 3

Password Hashing in PHP

Functions for hashing password password_hash() password_verify() password_hash() – Syntax: string password_hash(string $password , integer $algo [, array $options ] ) string $password – Password provide by user integer $algo –   Password algorithm constant(PASSWORD_DEFAULT and...