php Elephant Icon Logo
me@grafxflow

Written by me@grafxflow

29 Jul, 2008

0

1,503

MD5 encryption using php

Just incase anyone is thinking about doing a login that they want to make secure (Not 100% but more than normal), then you can encrypt the password using something called md5 encryption. MD5 stands for message-digest 5, which is an Internet standard to encrypt and protect strings.

Example code for usage:

<?php
$password = "password";
$encrypt_password = md5($password);
echo $encrypt_password;
?>

You should get this on the screen

5f4dcc3b5aa765d61d8327deb882cf99

Add comment

Smart Search

131 Following
57 Followers

me@grafxflow

Hull, United Kingdom

I am a Full-stack Developer who also started delving into the world of UX/UI Design a few years back. I blog and tweet to hopefully share a little bit of knowledge that can help others around the web. Thanks for stopping by!

Follow