adding template for base64 encoding/decoding.