text to bytes to b64