Web Server forum
Back To The Forum Home!Search!Private Messaging System

This is Interesting: Free IT Magazines Now Free shipping to   
Web Server Talk Web Server Talk > Email Servers > Email MIME > Intoduction to Binary encoding - Base64, ASCII85 etc




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Intoduction to Binary encoding - Base64, ASCII85 etc  
ImagingStuff


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-19-04 02:34 PM

We have a new paper available, covering various popular encoding
algorithms - Base64, Base32, ASCII85, Hex. It includes a full
description of each algorithm, with worked examples.

This is freely available from the white papers section of our website
(www.morello.co.uk) or from the ImagingStuff site
(www.imagingstuff.com). Feel free to link to it or mirror it.

Comments are welcomed, please contact us via the website.

Tom





[ Post a follow-up to this message ]



    Re: Intoduction to Binary encoding - Base64, ASCII85 etc  
Ernst Berg


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-19-04 02:34 PM

imagingstuff@hotmail.com (ImagingStuff) wrote in message news:<83010b73.0309251554.576fa831@postin
g.google.com>...
quote:
> We have a new paper available, covering various popular encoding > algorithms - Base64, Base32, ASCII85, Hex. It includes a full > description of each algorithm, with worked examples. > > This is freely available from the white papers section of our website > (www.morello.co.uk) or from the ImagingStuff site > (www.imagingstuff.com). Feel free to link to it or mirror it. > > Comments are welcomed, please contact us via the website. > > Tom
Nice file! Ernst




[ Post a follow-up to this message ]



    Re: Intoduction to Binary encoding - Base64, ASCII85 etc  
ben


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-19-04 02:34 PM

In article <83010b73.0309251554.576fa831@posting.google.com>,
ImagingStuff <imagingstuff@hotmail.com> wrote:
quote:
> We have a new paper available, covering various popular encoding > algorithms - Base64, Base32, ASCII85, Hex. It includes a full > description of each algorithm, with worked examples. > > This is freely available from the white papers section of our website > (www.morello.co.uk) or from the ImagingStuff site > (www.imagingstuff.com). Feel free to link to it or mirror it. > > Comments are welcomed, please contact us via the website.
i think there's a problem / error with the part about ascii85 in that binaryencoding.pdf document. i could be wrong, but i was using that document to try and write an ascii85 decoding bit of code to use in the pdf reading code i am currently writing, and i went through the ascii85 section of that document, doing the ascii85 decoding myself in order to work out how to write the code for it and the numbers didn't add up. &I<X6 is the first batch of 5 ascii85 chars in the example. the document gives those 5 values 5, 72, 27, 55, 21. the second value 72 should be 40 i think, so from then on it's off because of that. i think that that is the case. i was doing the process backwards so maybe i got muddled?




[ Post a follow-up to this message ]



    Re: Intoduction to Binary encoding - Base64, ASCII85 etc  
Frank Mackie


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-19-04 02:34 PM

Ben,

If you are looking for tight, simple C code to use or check your work
against, take a look at http://www.webcom.com/~haahr/sources.html.

Specifically, ftp://ftp.webcom.com/pub/haahr/src/encode85.c and
ftp://ftp.webcom.com/pub/haahr/src/decode85.c.

Regards,
Frank


"ben" <x@x.x> wrote in message news:071020031902526182%x@x.x...
quote:
> In article <83010b73.0309251554.576fa831@posting.google.com>, > ImagingStuff <imagingstuff@hotmail.com> wrote: > > > i think there's a problem / error with the part about ascii85 in that > binaryencoding.pdf document. > > i could be wrong, but i was using that document to try and write an > ascii85 decoding bit of code to use in the pdf reading code i am > currently writing, and i went through the ascii85 section of that > document, doing the ascii85 decoding myself in order to work out how to > write the code for it and the numbers didn't add up. > > &I<X6 is the first batch of 5 ascii85 chars in the example. the > document gives those 5 values 5, 72, 27, 55, 21. the second value 72 > should be 40 i think, so from then on it's off because of that. > > i think that that is the case. i was doing the process backwards so > maybe i got muddled?




[ Post a follow-up to this message ]



    Re: Intoduction to Binary encoding - Base64, ASCII85 etc  
David A. Scott


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-19-04 02:34 PM

"Frank Mackie" <me@home.com> wrote in
news:qPIgb.69452$Of2.2726715@twister.tampabay.rr.com:
quote:
> Ben, > > If you are looking for tight, simple C code to use or check your work > against, take a look at http://www.webcom.com/~haahr/sources.html. > > Specifically, ftp://ftp.webcom.com/pub/haahr/src/encode85.c and > ftp://ftp.webcom.com/pub/haahr/src/decode85.c. > > Regards, > Frank >
If you looking for simple code. You can easily translate a file to any printable character set using some of my bijectvie condition huffman compressors. David A. Scott -- My Crypto code http://cryptography.org/cgi-bin/cry...sc/scott19u.zip http://cryptography.org/cgi-bin/cry...sc/scott16u.zip http://www.jim.com/jamesd/Kong/scott19u.zip old version My Compression code http://bijective.dogma.net/ **TO EMAIL ME drop the roman "five" ** Disclaimer:I am in no way responsible for any of the statements made in the above text. For all I know I might be drugged. As a famous person once said "any cryptograhic system is only as strong as its weakest link"




[ Post a follow-up to this message ]



    Re: Intoduction to Binary encoding - Base64, ASCII85 etc  
ben


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-19-04 02:34 PM

In article <qPIgb.69452$Of2.2726715@twister.tampabay.rr.com>, Frank
Mackie <me@home.com> wrote:
quote:
> Ben, > > If you are looking for tight, simple C code to use or check your work > against, take a look at http://www.webcom.com/~haahr/sources.html. > > Specifically, ftp://ftp.webcom.com/pub/haahr/src/encode85.c and > ftp://ftp.webcom.com/pub/haahr/src/decode85.c. > > Regards, > Frank >
great, yes i probably will use that although i think my code's nearly there but i haven't handled the 'z' and end of data parts yet. but that's bound to be more efficient i guess. thanks.
quote:
> > "ben" <x@x.x> wrote in message news:071020031902526182%x@x.x... > >




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:42 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 

Back To The Top
Home | Usercp | Faq | Register