Python classmethod to use AES an Gearman client/server at easy way