<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def candidate_foundation(candidate_type, candidate_transport, base_address):
 """ See RFC 5245 - 4.1.1.3. Computing Foundations """

    key = '%s|%s|%s' % (candidate_type, candidate_transport, base_address)
    return hashlib.md5(key.encode('ascii')).hexdigest()