Add Robert Harder's public domain Base64 encoding utility
commitcb664e6b13d85b8f3ee0c6ebdc1c5b99152abe5d
authorRobert Harder <rob@iharder.net>
Sun, 29 Jun 2008 07:59:26 +0000 (29 03:59 -0400)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 30 Jun 2008 22:46:22 +0000 (1 00:46 +0200)
tree9d06aa636c79dd4fb2ea279f0387ff01d37c291b
parent612f0678fc23d71cb380b35ff352b33570582fa2
Add Robert Harder's public domain Base64 encoding utility

Some transports require Base64 encoding of certain data fields, such
as the "encryption" used in HTTP basic authentication header fields.

The wise people at Sun have never included the incredibly widely used
Base64 encoding/decoding algorithms as part of the base JRE, forcing
everyone to include their own library.  Fortunately for us Robert
Harder distributes one in the public domain.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/util/Base64.java [new file with mode: 0644]