java-base-n-encodings is a general base16, base32, base64 encodings library for Java 6+, which is according to RFC 4648.