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