code: def _unhash(hashed, alphabet):
      
      number = 0
      len_alphabet = len(alphabet)
      for character in hashed:
          position = alphabet.index(character)
          number *= len_alphabet
          number += position
      return number
docs: Restores a number tuple from hashed using the given `alphabet` index.