Blog

29 Jul
2008

php Elephant Icon Logo

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

Tagged: < dreamweaver | html | md5 | php >
Posted in: < PHP and HTML and CSS >
me@grafxflow avatar

me@grafxflow


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!

Visitors also viewed these posts


Add comment

Add comment