def generateHashUsingSHA3_256(fileName): print("SHA3_256") data=getData(fileName) data=bytes(data,"utf-8") start = timer() h = SHA3_256.new() h.update(data) #Because this looks better when viewed instead of h.digest() digest=h.hexdigest() end = timer() #print(digest) print("Time Taken to generate Hash is ",(end-start)) print("Time Taken to Hash per byte is ",(end-start)/len(data))