aboutsummaryrefslogtreecommitdiffstats
path: root/FuseArchive/Digest.py
blob: 0d4102eb4899b87f5e7473c115c0428d1a189ced (plain)
1
2
3
4
5
6
7
8
import sha, md5


# Return a binary digest
def compute( data ):
    #return sha.new( data ).digest()
    return md5.new( data ).digest()