import random
import string


def random_numeric_token(length):
  """Generates a random string of a given length, suitable for typing on a numeric keypad.
  """
  return ''.join(random.choice(string.digits) for i in range(length))