arookie
Posts: 12
|
| Posted: 11/03/2007, 10:33 PM |
|
Hi guys,
I need to encript a field using these formula:
base64(rc4(md5("textbox content")))
Hos this is done in PHP?,.Im really new to eloping, so any, really any clue will be apreciated.
|
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 11/04/2007, 8:12 AM |
|
arookie
I am assuming that you are using PHP4/5. If this is the case here are links that should point you in the right direction.
base64_decode: http://www.php.net/manual/en/function.base64-decode.php
base64_encode: http://www.php.net/manual/en/function.base64-encode.php
imap_base64: http://www.php.net/manual/en/function.imap-base64.php
rc4 (is a part of the pear library): http://pear.php.net/package/Crypt_RC4
md5: http://www.php.net/manual/en/function.md5.php
|
 |
 |
arookie
Posts: 12
|
| Posted: 11/04/2007, 11:34 AM |
|
Thanks mamboBrown, I found this same pages, but no reference about how to implement them in php,.
I tried setting the value of the textbox to = base64(rc4(md5("textbox content"))) , but it didt work.
What Im doing wrong...???
Thanks in advanced
|
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 11/05/2007, 5:29 AM |
|
arookie
If you notice in the links above that I provided to you that the function base64 (should be base64_encode) does not exist. Please look at the links that I provided you. I provided the function as the first part of the links.
|
 |
 |
|