Monday, 28 March 2016

What is md5 hash and how to use in PHP

Posted by
md5 is PHP function use to security purpose of record or data for storing in database and use .some data or record is very important in our website and web application .we do not show in plain text .because due leaked or hack of record and data so we use hash5() method .

The md5 method .convert our record and data into hashing in 128 bit .it is not possible to read and use for access any information behind this record .usually we use md5() function for Password field because password field is very important for our website and web application .

The example of use md5() below

<?php

$password="12345";
echo md5($password);

?>

Out put of this function is  8b1a9953c4611296a827abf8c47804d7

it is hashing form not easy readable.

How to Create mysql Database Connection in PHP



0 comments:

Post a Comment