Base64 encoding and decoding.