New Base64 implmentation.