¿Qué diferencia existe entre una tabla hash y una función hash?