library for base64 encoding and decoding