def seal(self, data, options=None):
options = self._set_options(options)<EOL>data = self._serialize_data(data, options)<EOL>data = self._compress_data(data, options)<EOL>data = self._encrypt_data(data, options)<EOL>data = self._add_header(data, options)<EOL>data = self._add_magic(data)<EOL>data = self._sign_data(data, options)<EOL>data = self._remove_magic(data)<EOL>data = urlsafe_nopadding_b64encode(data)<EOL>data = self._add_magic(data)<EOL>return data<EOL>
Seal data