<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _gen_key(self, key):
 """ Return long integer for a given key, that represent it place on the hash ring. """

        b_key = self._md5_digest(key)
        return self._hashi(b_key, lambda x: x)