def encode_num(num:int) -> list:
	"""
	This function is based on the encodeNumber function on the crypto.ts file
	Args:
		num(int): This is the number that needs to be encoded
	Returns:
		encoded_num(list): A list of 8 ints which are derived from the encoded num
	"""
	_bytes = (num).to_bytes(8, byteorder='little')
	encoded_num = list(_bytes)
	return encoded_num