Description

There are crypto standards that require large integers for keys to be encoded in
base64 with some special caveats (no sign bit, padding, etc). One of the
standards that requires this is the w3c's XML-Signature standard. This patch
adds this support along with junit tests. This code is taken from the Apache XML
Security project's own Base64 class and changed to be more readable and add
junit tests.