05-04-2011, 04:57 AM
Well PHP as far as I know, has only base64_encode() and base64_decode(), the functions encode text to base64 and decodes it back to original string.
However, base64 text is longer then real text, the data being sent to the server will be larger, if you don't care about that you can use those functions.
Encoding Strings to Base64
VB.NET Base64 Encoder and Decoder
base64_encode()
base64_decode()
On the other hand, you can write your own encoding/decoding function in PHP and C#/VB.NET.
Take a look at this pages and see how other try to do it, learn from it.
http://stackoverflow.com/questions/12890...nd-decrypt
http://strugglingdevelopers.blogspot.com...n-php.html
http://www.osix.net/modules/article/?id=606
http://stackoverflow.com/questions/26351...e64-encode
http://www.php.net/manual/en/refs.crypto.php
However, base64 text is longer then real text, the data being sent to the server will be larger, if you don't care about that you can use those functions.
Encoding Strings to Base64
VB.NET Base64 Encoder and Decoder
base64_encode()
base64_decode()
On the other hand, you can write your own encoding/decoding function in PHP and C#/VB.NET.
Take a look at this pages and see how other try to do it, learn from it.
http://stackoverflow.com/questions/12890...nd-decrypt
http://strugglingdevelopers.blogspot.com...n-php.html
http://www.osix.net/modules/article/?id=606
http://stackoverflow.com/questions/26351...e64-encode
http://www.php.net/manual/en/refs.crypto.php