human
return hash key as a list.
assistant
Here is a Python program to return a hash key as a list

import hashlib

def hash_key(key):
    """Returns a hash key as a list."""
    return [int(x) for x in key.split("-")]

# Enter the key
key = "123-456"

# Calling the function
print((hash_key(key)))

#Example Output
# [123, 456]

#Remember to inspect code for bugs.