def hash_napiprojekt(video_path):
 readsize = ((1024 * 1024) * 10)
 with open(video_path, 'rb') as f:
  data = f.read(readsize)
 return hashlib.md5(data).hexdigest()

def hash_napiprojekt ( video_path ) : readsize = ( ( 1024 * 1024 ) * 10 ) with open ( video_path , 'rb' ) as f : data = f . read ( readsize ) return hashlib . md5 ( data ) . hexdigest ( )
compute a hash using napiprojekts algorithm .