Scott,

I'm sorry for being so curt. It was the frustration factor setting in.
You've been more than helpful. I'll keep digging. I won't learn if I don't
do it myself. I'll try to keep my questions more specified.

Regards,

Mark

Mark D. Walter
Senior Programmer/Analyst
CCX, Inc.
mwalter@xxxxxxxxxx
http://www.ccxinc.com


                                                                           
             web400@scottkleme                                             
             nt.com                                                        
             Sent by:                                                   To 
             web400-bounces@mi         Web Enabling the AS400 / iSeries    
             drange.com                <web400@xxxxxxxxxxxx>               
                                                                        cc 
                                                                           
             02/24/2005 12:06                                      Subject 
             AM                        RE: [WEB400] User Profiles          
                                                                           
                                                                           
             Please respond to                                             
             Web Enabling the                                              
              AS400 / iSeries                                              
             <web400@midrange.                                             
                   com>                                                    
                                                                           
                                                                           





The algorithm for base64 is documented in RFC2045 in section 6...
specifically, 6.8 I'm not exactly sure what you're asking here.  You say
that you don't want anyone to write it for you.  Okay, so what DO you
want?

I explained the algorithm somewhat in the article entitled "RPG and the
IFS: Text Files in the World" which was published in the January issue of
iSeries NEWS.  Here's a link to that article on-line (requires a
ProVIP membership to the iSeries Network):
http://www.iseriesnetwork.com/article.cfm?id=19626

That article also contains a sample of encoding (but not decoding) base64
code.

There's also an RPG sample of base64 encoding (again, not decoding) in the
ENCODER4 module of HTTPAPI.
http://www.scottklement.com/httpapi/

Over the past 10 years or so, I've written five different implementations
of base64, and 3 of them were for the iSeries.  So, if you have any
specific questions about the programming part of it, please ask.

But, aside from actually posting my decoding routine (which you
specifically say you don't want) I don't know how I can help you further?


On Wed, 23 Feb 2005 MWalter@xxxxxxxxxxxxxxx wrote:
>
> I've been searching all day for a method or algorythm to decode base64
> input streams. I've read the RFC1341 documentation. I've looked at C and
> Java code. I'd like to keep it in RPG if at all possible.  I'm not asking
> anyone to write it for me, but, please point me in the right direction.
I'm
> really lost here.
>
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.