def _sign()

in source/frontend/controller.py [0:0]


    def _sign(self, key, msg):
        return hmac.new(key, msg.encode("utf-8"), hashlib.sha256).digest()