aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2009-08-07 22:39:46 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2009-08-07 22:39:46 (GMT)
commit289212fe75c6565877945fcd150a243e3fa0bc3b (patch)
treef985a9bacbdf5e713c6ebf0da646a994cdce475e
parentd3bd0c71cc6f8dfa6b7c93f19f9e605dfa438d81 (diff)
downloadfusearchive-289212fe75c6565877945fcd150a243e3fa0bc3b.zip
fusearchive-289212fe75c6565877945fcd150a243e3fa0bc3b.tar.gz
fusearchive-289212fe75c6565877945fcd150a243e3fa0bc3b.tar.bz2
Trying out md5 to see if it speeds up some
-rw-r--r--FuseArchive/Digest.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/FuseArchive/Digest.py b/FuseArchive/Digest.py
index 12ff0f7..0d4102e 100644
--- a/FuseArchive/Digest.py
+++ b/FuseArchive/Digest.py
@@ -1,7 +1,8 @@
-import sha
+import sha, md5
# Return a binary digest
def compute( data ):
- return sha.new( data ).digest()
+ #return sha.new( data ).digest()
+ return md5.new( data ).digest()