Base64 Encoding

This chapter provides notes and tutorials on Base64 encoding algorithm and implementations. Topics include reviewing Base64 encoding algorithm; W3C implementation and Sun implementation in Java.

Base64 Encoding Algorithm

RFC 1421 - Privacy Enhancement for Email

RFC 1521 - MIME (Multipurpose Internet Mail Extensions)

W3C Implementation of Base64 in Java

Sun Implementation of Base64 in Java

Sun Implementation of Base64 in Java - Test

Goetz' Implementation of Base64 in JavaScript

Goetz' Implementation of Base64 in JavaScript - Test

Conclusions:

Exercise: Write a program to compare the performance of Base64 encoding with UUEncode. I think UUEncode will perform better, because the output characters are computed instead looked up through an array.

Table of Contents

 About This Book

Base64 Encoding

 Base64 Encoding and Decoding Tools

 Base64URL - URL Safe Base64 Encoding

 Base32 Encoding

 URL Encoding, URI Encoding, or Percent Encoding

 UUEncode Encoding

 References

 Full Version in PDF/EPUB