01-19-04 02:33 PM
On Fri, 12 Sep 2003, Generic Usenet Account wrote:quote:
> Could someone kindly answer the following two questions I have
> regarding base64 encoding:
> (1) What is the time-complexity of the base64 encoding/decoding
> process?
> (2) On an average, what is the size of the encoded data in relation to
> the original (i.e. binary) data?
Ah, September. The start of a new school year.
The answer to question (1) is that it depends upon the processor chip. A
64 bit chip will handle the data four times as fast; twice between the
entire data fits, and twice because of the efficiency of not having to
split the data.
The answer to question (2) is that the size of the encoded data is
inversely proportional to the original data due to the patented
compression mechanism used by BASE64.
If you don't believe these answers, then read RFC 2045 where BASE64 is
specified and the answers to your question become obvious. Otherwise,
just submit the answers as-is on your homework, and you'll get the grade
that you deserve.
-- Mark --
http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.
[ Post a follow-up to this message ]
|