Stonecold wrote:
You know what I like doing? I like taking a sentence and turning it into Base64 then turn the Base64 into Base64 and turn that Base64 into Base64 again and again until a simple sentence takes up over 1 kilobyte then I see if I can decode that back into ASCII without knowing how many cycles of "Base64 to Base64 to Base64" have occured.
That sounds fun. Me and a friend email notes using uuencoding, rot13, and base64 backwards and forwards. I wrote this simple little PHP script to help me. The [ should be < and ] should be > obviously.
[?php
passthru('clear');
echo 'Enter the text to Encode: '; $getdata = fgets(STDIN);
$rotme = trim($getdata);
echo "\n \n" .$rotme . "\n \n" ;
$coded = str_rot13($rotme);
echo $coded . " = ROT13 encoded. \n";
$decoded = str_rot13($coded);
echo $decoded . " = Same word rot13 Decoded. \n";
echo "The same text UUENCODED is ". convert_uuencode($rotme) . "\n";
echo "And in Base64 encoding it reads as ". base64_encode($rotme)."\n";
echo "The original text, decoded from Base64 is: " . base64_decode($rotme) . "\n";
?]
Stonecold wrote:
By-the-way, I still don't get the point of this thread.
me either