def get_dynamic_hasher_names(HMAC_KEYS):
    """
    Return base dynamic hasher names for each entry in HMAC_KEYS (we need to
    create one hasher class for each key). Names are sorted to make sure
    the HMAC_KEYS are tested in the correct order and the first one is always
    the first hasher name returned.
    """
    algo_name = lambda hmac_id: 'bcrypt{0}'.format(hmac_id.replace('-', '_'))
    return [algo_name(key) for key in sorted(HMAC_KEYS.keys(), reverse=True)]