This topic is locked

Decode MD5 Encryption

7/13/2010 11:13:24 PM
PHPRunner General questions
B
bangke author

I tried to encrypt particular field in my table using BEFORE RECORD ADDED :
i use this script to encrypt some confidential information such as credit card number..

$values["MyField"] = md5($values["MyField"]);



and it works !!!!
is it possible to decode it in normal text in the list or view page?

A
ann 7/14/2010

Hi,
no, it's a one way algorithm.

Sergey Kornilov admin 7/14/2010

For two way encryption check mcrypt functions:

http://us2.php.net/manual/en/ref.mcrypt.php