call the method signing.get_cookie_signer with an argument salt set to sum of key and salt, call the method unsign on the result,
value = signing . get_cookie_signer ( salt = key + salt ) . unsign ( cookie_value , max_age = max_age )