摘要: 1 try: 2 import hashlib 3 _new_md5 = hashlib.md5 4 except ImportError: 5 import md5 6 _new_md5 = md5.new 7 8 def _UnsignedFingerPrintImpl(str, encoding='utf-8'): 9 hex128 = _new_md5(str).hexdigest()10 int64 = long(hex128[:16], 16)11 return int6412 13 14 def UnsignedFingerPrint(str, e... 阅读全文
posted @ 2013-05-21 16:09 小小亮FLY 阅读(276) 评论(0) 推荐(0)