base64.icn: Procedures for base64 encodings for MIME (RFC 2045)

procedure base64encode:    encode a string into base 64 (MIME)
procedure base64decode:    decode a string from base 64 (MIME)

link base64
May 2, 2001; David A. Gamey
This file is in the public domain.

Descriptions:

base64encode( s1 ) : s2

   returns the base64 encoding of a string s1

base64decode( s1 ) : s2

   returns the base64 decoding of a string s1
   fails if s1 isn't base64 encoded

references:  MIME encoding Internet RFC 2045

Source code | Program Library Page | Icon Home Page