def _encrypt(self, value):
value = json.dumps(value)<EOL>with warnings.catch_warnings():<EOL><INDENT>warnings.simplefilter("<STR_LIT:ignore>")<EOL>encrypted_value = self.cipher.encrypt(value.encode('<STR_LIT:utf8>'))<EOL><DEDENT>hexified_value = binascii.hexlify(encrypted_value).decode('<STR_LIT:ascii>')<EOL>return hexified_value<EOL>
Turn a json serializable value into an jsonified, encrypted,
        hexa string.