summaryrefslogtreecommitdiff
path: root/hash/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'hash/__init__.py')
-rw-r--r--hash/__init__.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/hash/__init__.py b/hash/__init__.py
deleted file mode 100644
index 0fc1715..0000000
--- a/hash/__init__.py
+++ /dev/null
@@ -1,11 +0,0 @@
-from _hash import *
-
-def file_hash(name):
- h = Hash()
- f = open(name)
- data = f.read(32768)
- while data:
- h.update(data)
- data = f.read(32768)
- f.close()
- return h