Php Code Decrypt md5 - Php

How to decrypt the md5 encrypted password?

Snippet Code


  
Rate this page :
  [ 0 votes]

MD5 is a one-way hashing technique, which means it cannot be decrypted.Encrypted key string is stored in database. Once you have stored the password, you can check if the user has entered correct password by hashing it again and comparing it with the stored value.

<?php function encrypt($pass) { $estr = md5($pass); return $estr; } echo encrypt('password'); ?>

Tags


Ask Questions

Ask Question