The hash_text function will consume a string (any kind of message) and two integers (base and hash_size), and produces an integer that attempts to uniquely represent the text.
ord.new value = (index + base) ** (old value). Hint: to get the index, you can use the Count pattern or the built-in enumerate function.%) to limit the total value to hash_size.