def use(self, algorithm):
try:<EOL><INDENT>self.hash_algo = self._mapper[algorithm.strip().lower()]<EOL><DEDENT>except IndexError:<EOL><INDENT>template = "<STR_LIT>"<EOL>raise ValueError(template % (algorithm, list(self._mapper)))<EOL><DEDENT>
Change the hash algorithm you gonna use.