From 1e5fe982e61445f5335ec941b3f602d83fafedff Mon Sep 17 00:00:00 2001 From: Steve Slaven Date: Fri, 7 Aug 2009 14:48:27 -0700 Subject: Digest wrapper diff --git a/FuseArchive/Digest.py b/FuseArchive/Digest.py new file mode 100644 index 0000000..12ff0f7 --- /dev/null +++ b/FuseArchive/Digest.py @@ -0,0 +1,7 @@ +import sha + + +# Return a binary digest +def compute( data ): + return sha.new( data ).digest() + -- cgit v0.10.2