added base64 encoding variants
doc fixups