def encrypt_text(self, text, *args, **kwargs):
b = text.encode("<STR_LIT:utf-8>")<EOL>token = self.encrypt(b, *args, **kwargs)<EOL>return base64.b64encode(token).decode("<STR_LIT:utf-8>")<EOL>
Encrypt a string.

input: unicode str, output: unicode str