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