new base 64 encoding support for padding