Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/g/i/GinGin-1.0.1/GinGin/antispam.py   GinGin(Download)
def get_key(doc_id):
    import md5, array, config
    m = md5.md5(config.GINGIN_COMMENT_SECRET + str(doc_id))
    key = array.array('B', m.digest())[:1]
    return key