base64 the pattern