Base64 Encoding

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

Base64 Encoding Algorithm

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

Implementation of Base64 in PHP - Test

Exercise: Write a program to compare the performance of Baase64 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

 UUEncode Encoding

Base64 Encoding

 Base32 Encoding

 URL Encoding, URI Encoding, or Percent Encoding

 References

 PDF Printing Version