Article View: news.software.nntp
Article #56956Re: [yEnc] some newbie questions
From: Nuutti Kotivuori
Date: Wed, 27 Feb 2002 21:12
Date: Wed, 27 Feb 2002 21:12
24 lines
2328 bytes
2328 bytes
Curt Welch wrote: > Nuutti Kotivuori <naked@iki.fi> wrote: >> But the thing is that we do not _need_ to use decoding to do the >> algorithm work - that is only one solution. We can use a 256 >> character table for the symbol table - and do our _math_ in 251 >> base > > Ok, i see that. But that's getting weird. But maybe not as wierd > as it first seems. I'd have to try it to see... > >> or 16 base as normally used. > > And that's different from 2 how? Do they compare and shift only in > blocks of 4 bits at a time and call that base 16? Yes. Just as base10 is doing it with, well, 10 base digits. The 251 base values can be stored in char arrays for example - and everything can shift just one 'char' out at a time. The only hard thing is addition (and possibly, if we do it in a silly way, multiplication and dividing) with those char arrays containing 251 base digits. -- Naked
Technical Details
Message-ID:
<873czm39zf.fsf@iki.fi>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.stealth.net!news.cc.tut.fi!uutiset.saunalahti.fi!localhostReferences:
<3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <1rr8nmjix6.fsf@fjorir.ifi.uio.no> <a4knl3$3ol$1@pegasus.csx.cam.ac.uk> <3c7a60b7.469568@news> <a5gp0f$621$1@pegasus.csx.cam.ac.uk> <20020226152108.753$EN@newsreader.com> <87it8j2vuq.fsf@iki.fi> <20020227140753.831$xF@newsreader.com> <87bsea3cv9.fsf@iki.fi> <20020227154912.992$yw@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <873czm39zf.fsf@iki.fi> Subject: Re: [yEnc] some newbie questions Date: Wed, 27 Feb 2002 23:12:20 +0200 From: Nuutti Kotivuori <naked@iki.fi> References: <3c6e6798.9093644@news> <a4kc41$ou1$2@pegasus.csx.cam.ac.uk> <1rr8nmjix6.fsf@fjorir.ifi.uio.no> <a4knl3$3ol$1@pegasus.csx.cam.ac.uk> <3c7a60b7.469568@news> <a5gp0f$621$1@pegasus.csx.cam.ac.uk> <20020226152108.753$EN@newsreader.com> <87it8j2vuq.fsf@iki.fi> <20020227140753.831$xF@newsreader.com> <87bsea3cv9.fsf@iki.fi> <20020227154912.992$yw@newsreader.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.stealth.net!news.cc.tut.fi!uutiset.saunalahti.fi!localhost Newsgroups: news.software.nntp Organization: SAUNALAHDEN asiakas Lines: 23 NNTP-Posting-Host: cs183115.pp.htv.fi Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: tron.sci.fi 1014853871 18745 213.243.183.115 (27 Feb 2002 23:51:11 GMT) X-Complaints-To: newsmaster@saunalahti.fi NNTP-Posting-Date: 27 Feb 2002 23:51:11 GMT User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i386-debian-linux) Cancel-Lock: sha1:qnDz4gaYFrT7Wdl/4dOAQJ8f6qA=