

def _signature(self, args):
    parts = [('%s=%s' % (n, args[n])) for n in sorted(args.keys())]
    body = (''.join(parts) + self.settings['facebook_secret'])
    if isinstance(body, unicode_type):
        body = body.encode('utf-8')
    return hashlib.md5(body).hexdigest()

dataset/ETHPy150Open D-L/SimpleBookMarks/src/tornado/auth.py FacebookMixin._signature/original