FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

[php] encryption

 


jasperlevink
Hello folks.

I need your advice. I want to reversable encryp a string with a key. Which encryption method, supported by php, should I use?

Thanks.
Jasper
Atomo64
you can use RC4, there's even a small function written by some guy... http://www.zend.com/codex.php?id=821&single=1
jasperlevink
I'm sorry. I meant encoding, not encryption...
Does anyone know what I could use best to store a string of 10 alphanumeric characters (also signs like . and , ). Performance is not really an issue because encoding and decoding doesn't happen often.

Thanks.
Jasper
n0obie4life
base64?

http://php.net/base64_encode
http://php.net/base64_decode
jasperlevink
I also heard about 3des and rijndael. What are advantages etc. What should be the best?

Thanks.
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.