Data Encodings - Herong's Tutorial Examples - Version 5.11, by Dr. Herong Yang
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.
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
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